Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / TEST_PY / test_unit / test_shapes.py
index cae2eb37414ec28070767086749b276516ab7368..caac964f3ae0ad7c4d66a043dfcf0fec43503ff1 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: latin-1 -*-
-# Copyright (C) 2009-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2009-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -43,23 +43,23 @@ shape  = doc.addShape (bielle, "bielle")
 sommets = geompy.SubShapeAllIDs (bielle, geompy.ShapeType["VERTEX"])
 aretes  = geompy.SubShapeAllIDs (bielle, geompy.ShapeType["EDGE"])
 
-print " ... Aretes  = ", aretes
-print " ... Sommets = ", sommets
+print(" ... Aretes  = ", aretes)
+print(" ... Sommets = ", sommets)
 
 nbfaces  = shape.countFace ()
 nbedges  = shape.countEdge ()
 nbvertex = shape.countVertex ()
 
 for n in range (nbfaces) :
-    print " Face nro %d = %s" % (n , shape.getNameFace (n))
-print
+    print(" Face nro %d = %s" % (n , shape.getNameFace (n)))
+print()
 
 for n in range (nbedges) :
-    print " Edge nro %d = %s" % (n , shape.getNameEdge (n))
-print
+    print(" Edge nro %d = %s" % (n , shape.getNameEdge (n)))
+print()
 
 for n in range (nbvertex) :
-    print " Vertex nro %d = %s" % (n , shape.getNameVertex (n))
+    print(" Vertex nro %d = %s" % (n , shape.getNameVertex (n)))