diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-07-17 19:07:27 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2017-07-24 13:00:29 -0600 |
commit | d51030ad61fe449752e4330eadf6cb25fbee2f2a (patch) | |
tree | b014bf08940787379960ada3364bbda7caaa039b /numpy/ma/tests/test_regression.py | |
parent | fb935c60ff529ab9d08317293336a6883a02370c (diff) | |
download | numpy-d51030ad61fe449752e4330eadf6cb25fbee2f2a.tar.gz |
TST: Remove unittest dependencies in numpy/ma/tests.
Diffstat (limited to 'numpy/ma/tests/test_regression.py')
-rw-r--r-- | numpy/ma/tests/test_regression.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/numpy/ma/tests/test_regression.py b/numpy/ma/tests/test_regression.py index d1fb2bb2b..34dd29d92 100644 --- a/numpy/ma/tests/test_regression.py +++ b/numpy/ma/tests/test_regression.py @@ -3,14 +3,15 @@ from __future__ import division, absolute_import, print_function import warnings import numpy as np -from numpy.testing import (assert_, TestCase, assert_array_equal, - assert_allclose, run_module_suite, - suppress_warnings) +from numpy.testing import ( + assert_, assert_array_equal, assert_allclose, run_module_suite, + suppress_warnings + ) rlevel = 1 -class TestRegression(TestCase): +class TestRegression(object): def test_masked_array_create(self,level=rlevel): # Ticket #17 x = np.ma.masked_array([0, 1, 2, 3, 0, 4, 5, 6], |