Salome HOME
Porting to python3
[modules/paravis.git] / test / VisuPrs / GaussPoints / B5.py
index c3cc650109c0252a14186b7575501e7e4f20ea6c..b4623e1a824ddb3b1ec6971d6cb658eb3eb50ac7 100644 (file)
@@ -45,7 +45,7 @@ if med_reader is None:
 # Create Gauss Points presentation
 prs = GaussPointsOnField(med_reader, EntityType.CELL, field_name, timestamp_nb)
 if prs is None:
-    raise RuntimeError, "Created presentation is None!!!"
+    raise RuntimeError("Created presentation is None!!!")
 
 # Display presentation and get snapshot
 view = pvsimple.GetRenderView()