diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-04-07 08:46:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 08:46:17 -0600 |
commit | b8e8a6ee1f032474a0119fa0c0a6dfb51355abd6 (patch) | |
tree | eed415032968944399ee7686a31c23c0a5401317 /numpy/lib/tests/test_function_base.py | |
parent | 6623dbf3c61ac3dc19a6f226f1cb6f7e9011ad76 (diff) | |
parent | f45ceeac888fad366e68fef96b041cad2f420180 (diff) | |
download | numpy-b8e8a6ee1f032474a0119fa0c0a6dfb51355abd6.tar.gz |
Merge pull request #10858 from charris/post-pytest-cleanup
MAINT: Post pytest switch cleanup
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 2ea2dbc56..0a4c7c370 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -9,11 +9,11 @@ import pytest import numpy as np from numpy import ma from numpy.testing import ( - run_module_suite, assert_, assert_equal, assert_array_equal, - assert_almost_equal, assert_array_almost_equal, assert_raises, - assert_allclose, assert_array_max_ulp, assert_warns, assert_raises_regex, - suppress_warnings, HAS_REFCOUNT, -) + assert_, assert_equal, assert_array_equal, assert_almost_equal, + assert_array_almost_equal, assert_raises, assert_allclose, + assert_array_max_ulp, assert_warns, assert_raises_regex, suppress_warnings, + HAS_REFCOUNT, + ) import numpy.lib.function_base as nfb from numpy.random import rand from numpy.lib import ( @@ -22,7 +22,7 @@ from numpy.lib import ( histogram, histogramdd, i0, insert, interp, kaiser, meshgrid, msort, piecewise, place, rot90, select, setxor1d, sinc, split, trapz, trim_zeros, unwrap, unique, vectorize -) + ) from numpy.compat import long @@ -2995,7 +2995,3 @@ class TestAdd_newdoc(object): assert_equal(np.core.flatiter.index.__doc__[:len(tgt)], tgt) assert_(len(np.core.ufunc.identity.__doc__) > 300) assert_(len(np.lib.index_tricks.mgrid.__doc__) > 300) - - -if __name__ == "__main__": - run_module_suite() |