diff options
author | gfyoung <gfyoung17@gmail.com> | 2015-12-19 16:49:35 -0800 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2015-12-19 16:50:09 -0800 |
commit | 8bc592fabf4a2b0bc76db996b1523330ba095be3 (patch) | |
tree | c8a1a549e5a093a9433fe9a50a6e0e8bb5358ab1 /tools/swig | |
parent | e2bdaccba1a8691f9223b059b981b2890bb13b09 (diff) | |
download | numpy-8bc592fabf4a2b0bc76db996b1523330ba095be3.tar.gz |
DOC: Use print only as function when print_function is imported from __future__
Closes gh-6863.
Diffstat (limited to 'tools/swig')
-rw-r--r-- | tools/swig/test/testFortran.py | 2 |
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) |