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_histograms.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_histograms.py')
-rw-r--r-- | numpy/lib/tests/test_histograms.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/numpy/lib/tests/test_histograms.py b/numpy/lib/tests/test_histograms.py index 6f73a8d60..6777089ab 100644 --- a/numpy/lib/tests/test_histograms.py +++ b/numpy/lib/tests/test_histograms.py @@ -4,11 +4,10 @@ import numpy as np from numpy.lib.histograms import histogram, histogramdd, histogram_bin_edges 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, -) + 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, + ) class TestHistogram(object): @@ -643,7 +642,3 @@ class TestHistogramdd(object): range=[[0.0, 1.0], [0.25, 0.75], [0.25, np.inf]]) assert_raises(ValueError, histogramdd, vals, range=[[0.0, 1.0], [np.nan, 0.75], [0.25, 0.5]]) - - -if __name__ == "__main__": - run_module_suite() |