diff options
| author | Raúl Montón Pinillos <raul_m_p@me.com> | 2022-02-18 11:29:13 +0100 |
|---|---|---|
| committer | Raúl Montón Pinillos <raul_m_p@me.com> | 2022-02-18 13:06:27 +0100 |
| commit | cc2ddfc0735919c98ea1247673c7ba6ad1249bcd (patch) | |
| tree | 82fc2e760e7abc1806070a31e262a272159bb6c2 /numpy/random/tests | |
| parent | c1a95fff9d8d90af5a62e62e2b08234e3f082707 (diff) | |
| download | numpy-cc2ddfc0735919c98ea1247673c7ba6ad1249bcd.tar.gz | |
Performance improvements for negative_binomial checks
Diffstat (limited to 'numpy/random/tests')
| -rw-r--r-- | numpy/random/tests/test_generator_mt19937.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/random/tests/test_generator_mt19937.py b/numpy/random/tests/test_generator_mt19937.py index 238e823df..3ccb9103c 100644 --- a/numpy/random/tests/test_generator_mt19937.py +++ b/numpy/random/tests/test_generator_mt19937.py @@ -1490,6 +1490,7 @@ class TestRandomDist: # or infinite loop raise an exception. with np.errstate(invalid='ignore'): assert_raises(ValueError, random.negative_binomial, 2**62, 0.1) + assert_raises(ValueError, random.negative_binomial, [2**62], [0.1]) def test_noncentral_chisquare(self): random = Generator(MT19937(self.seed)) |
