summaryrefslogtreecommitdiff
path: root/numpy/testing/numpytest.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-04-06 14:14:28 -0700
committernjsmith <njs@pobox.com>2013-04-06 14:14:28 -0700
commit3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd (patch)
tree889782afaf67fd5acb5f222969251871c0c46e5a /numpy/testing/numpytest.py
parent7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff)
parentbb726ca19f434f5055c0efceefe48d89469fcbbe (diff)
downloadnumpy-3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd.tar.gz
Merge pull request #3203 from charris/2to3-apply-print-fixer
2to3: Apply `print` fixer.
Diffstat (limited to 'numpy/testing/numpytest.py')
-rw-r--r--numpy/testing/numpytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/numpytest.py b/numpy/testing/numpytest.py
index 4e2409e8d..4fa9364b1 100644
--- a/numpy/testing/numpytest.py
+++ b/numpy/testing/numpytest.py
@@ -1,4 +1,4 @@
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
import os
import sys
@@ -46,7 +46,7 @@ def importall(package):
try:
exec('import %s as m' % (name))
except Exception as msg:
- print 'Failed importing %s: %s' %(name, msg)
+ print('Failed importing %s: %s' %(name, msg))
continue
importall(m)
return