]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_4.py
Salome HOME
Passage vers python 3
[modules/homard.git] / src / tests / Test / tutorial_4.py
index 676b2876cfc648fb15eda9f3b9964cb55fa89ea7..3816780d7a7463eebfc0ca1089817dd05869e22b 100755 (executable)
@@ -21,7 +21,7 @@
 Python script for HOMARD
 Test tutorial_4 associe au tutorial 4
 """
-__revision__ = "V3.1"
+__revision__ = "V4.01"
 
 #========================================================================
 TEST_NAME = "tutorial_4"
@@ -150,7 +150,7 @@ try :
   ERROR = homard_exec(salome.myStudy)
   if ERROR :
     raise Exception('Pb in homard_exec at iteration %d' %ERROR )
-except Exception, eee:
+except Exception as eee:
   raise Exception('Pb in homard_exec: '+eee.message)
 #
 # Test of the results