diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-07-04 23:37:03 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-07-25 11:39:05 -0600 |
commit | b733a10a9cc806f4772728015ec1bd9e63322858 (patch) | |
tree | 8fc2664d6273176c5115df597fc347cdd043a88a /numpy/ma/tests/test_subclassing.py | |
parent | e79d6e306c675eee852a8ebaa26a137d4296841a (diff) | |
download | numpy-b733a10a9cc806f4772728015ec1bd9e63322858.tar.gz |
STY,MAINT: Run pyflakes and pep8 on numpy/ma/tests/*.
Also fix "*" imports.
The formatting of test arrays is not fixed for multiple spaces following
"," and other violations that are common in tests. To be precise, E241
and E201 are added to the errors that are excluded.
Diffstat (limited to 'numpy/ma/tests/test_subclassing.py')
-rw-r--r-- | numpy/ma/tests/test_subclassing.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/numpy/ma/tests/test_subclassing.py b/numpy/ma/tests/test_subclassing.py index 2e98348e6..68734425c 100644 --- a/numpy/ma/tests/test_subclassing.py +++ b/numpy/ma/tests/test_subclassing.py @@ -8,15 +8,14 @@ """ from __future__ import division, absolute_import, print_function -__author__ = "Pierre GF Gerard-Marchant ($Author: jarrod.millman $)" -__version__ = '1.0' -__revision__ = "$Revision: 3473 $" -__date__ = '$Date: 2007-10-29 17:18:13 +0200 (Mon, 29 Oct 2007) $' - import numpy as np -from numpy.testing import * -from numpy.ma.testutils import * -from numpy.ma.core import * +from numpy.testing import TestCase, run_module_suite, assert_raises +from numpy.ma.testutils import assert_equal +from numpy.ma.core import ( + array, arange, masked, MaskedArray, masked_array, log, add, hypot, + divide, asarray, asanyarray, nomask + ) +# from numpy.ma.core import ( class SubArray(np.ndarray): |