summaryrefslogtreecommitdiff
path: root/tools/swig/test/testFortran.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/swig/test/testFortran.py')
-rw-r--r--tools/swig/test/testFortran.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/swig/test/testFortran.py b/tools/swig/test/testFortran.py
index be4134d4e..c77d728e9 100644
--- a/tools/swig/test/testFortran.py
+++ b/tools/swig/test/testFortran.py
@@ -29,7 +29,7 @@ class FortranTestCase(unittest.TestCase):
# commenting it out. --WFS
# def testSecondElementContiguous(self):
# "Test Fortran matrix initialized from reshaped default array"
- # print >>sys.stderr, self.typeStr, "... ",
+ # print(self.typeStr, "... ", end="", file=sys.stderr)
# second = Fortran.__dict__[self.typeStr + "SecondElement"]
# matrix = np.arange(9).reshape(3, 3).astype(self.typeCode)
# self.assertEquals(second(matrix), 3)