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/polynomial/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/polynomial/tests')
-rw-r--r-- | numpy/polynomial/tests/test_chebyshev.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_classes.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_hermite.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_hermite_e.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_laguerre.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_legendre.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_polynomial.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_polyutils.py | 2 | ||||
-rw-r--r-- | numpy/polynomial/tests/test_printing.py | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/numpy/polynomial/tests/test_chebyshev.py b/numpy/polynomial/tests/test_chebyshev.py index 2bf73d02b..23a17b464 100644 --- a/numpy/polynomial/tests/test_chebyshev.py +++ b/numpy/polynomial/tests/test_chebyshev.py @@ -1,7 +1,7 @@ """Tests for chebyshev module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.chebyshev as cheb diff --git a/numpy/polynomial/tests/test_classes.py b/numpy/polynomial/tests/test_classes.py index 2439fc8ad..56af16a98 100644 --- a/numpy/polynomial/tests/test_classes.py +++ b/numpy/polynomial/tests/test_classes.py @@ -3,7 +3,7 @@ This tests the convert and cast methods of all the polynomial classes. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np from numpy.polynomial import ( diff --git a/numpy/polynomial/tests/test_hermite.py b/numpy/polynomial/tests/test_hermite.py index f9b936bbf..785f9b255 100644 --- a/numpy/polynomial/tests/test_hermite.py +++ b/numpy/polynomial/tests/test_hermite.py @@ -1,7 +1,7 @@ """Tests for hermite module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.hermite as herm diff --git a/numpy/polynomial/tests/test_hermite_e.py b/numpy/polynomial/tests/test_hermite_e.py index f7871fe99..84c952578 100644 --- a/numpy/polynomial/tests/test_hermite_e.py +++ b/numpy/polynomial/tests/test_hermite_e.py @@ -1,7 +1,7 @@ """Tests for hermite_e module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.hermite_e as herme diff --git a/numpy/polynomial/tests/test_laguerre.py b/numpy/polynomial/tests/test_laguerre.py index 2aabda114..b7268fe59 100644 --- a/numpy/polynomial/tests/test_laguerre.py +++ b/numpy/polynomial/tests/test_laguerre.py @@ -1,7 +1,7 @@ """Tests for laguerre module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.laguerre as lag diff --git a/numpy/polynomial/tests/test_legendre.py b/numpy/polynomial/tests/test_legendre.py index cd3db4e35..ae86f65b6 100644 --- a/numpy/polynomial/tests/test_legendre.py +++ b/numpy/polynomial/tests/test_legendre.py @@ -1,7 +1,7 @@ """Tests for legendre module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.legendre as leg diff --git a/numpy/polynomial/tests/test_polynomial.py b/numpy/polynomial/tests/test_polynomial.py index c93421c7d..3d9519679 100644 --- a/numpy/polynomial/tests/test_polynomial.py +++ b/numpy/polynomial/tests/test_polynomial.py @@ -1,7 +1,7 @@ """Tests for polynomial module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.polynomial as poly diff --git a/numpy/polynomial/tests/test_polyutils.py b/numpy/polynomial/tests/test_polyutils.py index 95a8f39bb..93c742abd 100644 --- a/numpy/polynomial/tests/test_polyutils.py +++ b/numpy/polynomial/tests/test_polyutils.py @@ -1,7 +1,7 @@ """Tests for polyutils module. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy as np import numpy.polynomial.polyutils as pu diff --git a/numpy/polynomial/tests/test_printing.py b/numpy/polynomial/tests/test_printing.py index 3974620a7..96a2ea7d4 100644 --- a/numpy/polynomial/tests/test_printing.py +++ b/numpy/polynomial/tests/test_printing.py @@ -1,4 +1,4 @@ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function import numpy.polynomial as poly from numpy.testing import TestCase, run_module_suite, assert_ |