diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2017-01-06 10:17:46 +1300 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2017-01-06 10:17:46 +1300 |
commit | bed40e207a26064bf83568efaeeec8079a99dc74 (patch) | |
tree | 1d2ab507e8edf605682d16d81f7dd522f45fcffd /numpy/random | |
parent | b9fb9862627e40fc5c4aef9a841c407c79dc6c3f (diff) | |
download | python-numpy-bed40e207a26064bf83568efaeeec8079a99dc74.tar.gz python-numpy-bed40e207a26064bf83568efaeeec8079a99dc74.tar.bz2 python-numpy-bed40e207a26064bf83568efaeeec8079a99dc74.zip |
TST: remove a duplicate test. Closes gh-8447.
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/tests/test_random.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/random/tests/test_random.py b/numpy/random/tests/test_random.py index e8a7d0fbf..3589f4c36 100644 --- a/numpy/random/tests/test_random.py +++ b/numpy/random/tests/test_random.py @@ -580,10 +580,6 @@ class TestRandomDist(TestCase): [-0.21682183359214885, 2.63373365386060332]]) assert_array_almost_equal(actual, desired, decimal=15) - def test_laplace_0(self): - assert_(np.random.laplace(scale=0) in [0, 1]) - assert_raises(ValueError, np.random.laplace, scale=-0.) - def test_lognormal(self): np.random.seed(self.seed) actual = np.random.lognormal(mean=.123456789, sigma=2.0, size=(3, 2)) |