diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-03-01 10:43:49 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-03-01 10:43:49 -0800 |
commit | d12dad4d42a4684d1e0a40c0105772ebab92d6bc (patch) | |
tree | 91609b16e08199176342f0a50776135e48d34334 /numpy/ma/tests | |
parent | 890ee94dd90769d303025e10d906f584088516d3 (diff) | |
parent | cabc07e185a0ffad5f8055760b385aa5cca85896 (diff) | |
download | numpy-d12dad4d42a4684d1e0a40c0105772ebab92d6bc.tar.gz |
Merge pull request #3026 from charris/2to3-fix-print
2to3: Put `from __future__ import division` in every python file.
Diffstat (limited to 'numpy/ma/tests')
-rw-r--r-- | numpy/ma/tests/test_core.py | 2 | ||||
-rw-r--r-- | numpy/ma/tests/test_extras.py | 3 | ||||
-rw-r--r-- | numpy/ma/tests/test_mrecords.py | 3 | ||||
-rw-r--r-- | numpy/ma/tests/test_old_ma.py | 2 | ||||
-rw-r--r-- | numpy/ma/tests/test_regression.py | 2 | ||||
-rw-r--r-- | numpy/ma/tests/test_subclassing.py | 3 |
6 files changed, 15 insertions, 0 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index cd60f7d71..cf8f1111d 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -4,6 +4,8 @@ :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu """ +from __future__ import division + __author__ = "Pierre GF Gerard-Marchant" import types diff --git a/numpy/ma/tests/test_extras.py b/numpy/ma/tests/test_extras.py index f1b36a15d..3f25ac21c 100644 --- a/numpy/ma/tests/test_extras.py +++ b/numpy/ma/tests/test_extras.py @@ -5,7 +5,10 @@ Adapted from the original test_ma by Pierre Gerard-Marchant :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_extras.py 3473 2007-10-29 15:18:13Z jarrod.millman $ + """ +from __future__ import division + __author__ = "Pierre GF Gerard-Marchant ($Author: jarrod.millman $)" __version__ = '1.0' __revision__ = "$Revision: 3473 $" diff --git a/numpy/ma/tests/test_mrecords.py b/numpy/ma/tests/test_mrecords.py index c8d9b0a46..4e59b8e41 100644 --- a/numpy/ma/tests/test_mrecords.py +++ b/numpy/ma/tests/test_mrecords.py @@ -3,7 +3,10 @@ :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu + """ +from __future__ import division + __author__ = "Pierre GF Gerard-Marchant ($Author: jarrod.millman $)" __revision__ = "$Revision: 3473 $" __date__ = '$Date: 2007-10-29 17:18:13 +0200 (Mon, 29 Oct 2007) $' diff --git a/numpy/ma/tests/test_old_ma.py b/numpy/ma/tests/test_old_ma.py index 656f0b318..c9dbe4d4a 100644 --- a/numpy/ma/tests/test_old_ma.py +++ b/numpy/ma/tests/test_old_ma.py @@ -1,3 +1,5 @@ +from __future__ import division + import numpy import types from numpy.ma import * diff --git a/numpy/ma/tests/test_regression.py b/numpy/ma/tests/test_regression.py index 3a634452b..85c290160 100644 --- a/numpy/ma/tests/test_regression.py +++ b/numpy/ma/tests/test_regression.py @@ -1,3 +1,5 @@ +from __future__ import division + from numpy.testing import * import numpy as np import numpy.ma as ma diff --git a/numpy/ma/tests/test_subclassing.py b/numpy/ma/tests/test_subclassing.py index fb72ca773..ce3d8c889 100644 --- a/numpy/ma/tests/test_subclassing.py +++ b/numpy/ma/tests/test_subclassing.py @@ -4,7 +4,10 @@ :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_subclassing.py 3473 2007-10-29 15:18:13Z jarrod.millman $ + """ +from __future__ import division + __author__ = "Pierre GF Gerard-Marchant ($Author: jarrod.millman $)" __version__ = '1.0' __revision__ = "$Revision: 3473 $" |