Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / TEST_PY / test_unit / revolution.py
index 5cb154d8c5dd49f420987341fd169abc3f904f07..ef44bd533e2dca382a9f69be056896472b096eda 100644 (file)
@@ -1,10 +1,10 @@
 # -*- coding: latin-1 -*-
-# Copyright (C) 2009-2013  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
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,7 +22,6 @@
 
 import hexablock
 import os
-import geompy
 
 #---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 # ================================================================= save_schema
@@ -69,7 +68,7 @@ def test_revolution () :
     for nx in range (nr) :
         for ny in range (na) :
             cell = grid.getQuadIJ (nx, ny, nl)
-            print " ... cell = ", cell
+            print(" ... cell = ", cell)
             liste.append (cell);
 
     center = doc.addVertex (0, -10, 0);
@@ -95,7 +94,7 @@ def test_prism () :
     for nx in range (nr) :
         for ny in range (na) :
             cell = grid.getQuadIJ (nx, ny, nl)
-            print " ... cell = ", cell
+            print(" ... cell = ", cell)
             liste.append (cell);
 
     axis = doc.addVector (1, 1, 1);
@@ -118,7 +117,7 @@ def test_prism_vec () :
     for nx in range (nr) :
         for ny in range (na) :
             cell = grid.getQuadIJ (nx, ny, nl)
-            print " ... cell = ", cell
+            print(" ... cell = ", cell)
             liste.append (cell);
 
     axis = doc.addVector (1, 1, 1);