From bed40e207a26064bf83568efaeeec8079a99dc74 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Fri, 6 Jan 2017 10:17:46 +1300 Subject: TST: remove a duplicate test. Closes gh-8447. --- numpy/random/tests/test_random.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'numpy/random/tests') 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)) -- cgit v1.2.1