]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_3.py
Salome HOME
Passage vers python 3
[modules/homard.git] / src / tests / Test / tutorial_3.py
index 8a043061f7c21190edcb476c877051c8898255de..c4efe620b192392d47444b2cfc04920b0e372729 100755 (executable)
@@ -21,7 +21,7 @@
 Python script for HOMARD
 Test tutorial_3 associe au tutorial 3
 """
-__revision__ = "V3.1"
+__revision__ = "V4.01"
 
 #========================================================================
 TEST_NAME = "tutorial_3"
@@ -163,7 +163,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