diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-06 13:25:26 -0600 |
|---|---|---|
| committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-06 13:25:26 -0600 |
| commit | bb726ca19f434f5055c0efceefe48d89469fcbbe (patch) | |
| tree | 889782afaf67fd5acb5f222969251871c0c46e5a /numpy/testing/tests | |
| parent | 7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff) | |
| download | numpy-bb726ca19f434f5055c0efceefe48d89469fcbbe.tar.gz | |
2to3: Apply `print` fixer.
Add `print_function` to all `from __future__ import ...` statements
and use the python3 print function syntax everywhere.
Closes #3078.
Diffstat (limited to 'numpy/testing/tests')
| -rw-r--r-- | numpy/testing/tests/test_decorators.py | 2 | ||||
| -rw-r--r-- | numpy/testing/tests/test_doctesting.py | 2 | ||||
| -rw-r--r-- | numpy/testing/tests/test_utils.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/numpy/testing/tests/test_decorators.py b/numpy/testing/tests/test_decorators.py index 0acf5a11a..f3e142d54 100644 --- a/numpy/testing/tests/test_decorators.py +++ b/numpy/testing/tests/test_decorators.py @@ -1,4 +1,4 @@ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np from numpy.testing import * diff --git a/numpy/testing/tests/test_doctesting.py b/numpy/testing/tests/test_doctesting.py index 798c0e7e7..43f9fb6ce 100644 --- a/numpy/testing/tests/test_doctesting.py +++ b/numpy/testing/tests/test_doctesting.py @@ -1,7 +1,7 @@ """ Doctests for NumPy-specific nose/doctest modifications """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function # try the #random directive on the output line def check_random_directive(): diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py index f08ca2b12..cbc8cd23e 100644 --- a/numpy/testing/tests/test_utils.py +++ b/numpy/testing/tests/test_utils.py @@ -1,4 +1,4 @@ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import warnings import sys |
