diff options
author | Bharat123Rox <bharatr@symphonyai.com> | 2019-03-05 15:50:28 +0530 |
---|---|---|
committer | Bharat123Rox <bharatr@symphonyai.com> | 2019-03-05 15:50:28 +0530 |
commit | 74c68ee162f47cc2b01f83f113dc6571d18f2d6d (patch) | |
tree | 4aae666e8c139609f3f2cb7d63c5f9f1927c60e2 /numpy/random/tests/test_random.py | |
parent | c17127c3056b9086e76c3c6e5bb2655f2264b681 (diff) | |
download | numpy-74c68ee162f47cc2b01f83f113dc6571d18f2d6d.tar.gz |
Added issue number in comment
Diffstat (limited to 'numpy/random/tests/test_random.py')
-rw-r--r-- | numpy/random/tests/test_random.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/random/tests/test_random.py b/numpy/random/tests/test_random.py index bf8c2be93..eb06dc691 100644 --- a/numpy/random/tests/test_random.py +++ b/numpy/random/tests/test_random.py @@ -400,6 +400,7 @@ class TestRandomDist(object): assert_raises(ValueError, sample, [1, 2], 3, p=[1.1, -0.1]) assert_raises(ValueError, sample, [1, 2], 3, p=[0.4, 0.4]) assert_raises(ValueError, sample, [1, 2, 3], 4, replace=False) + # gh-13087 assert_raises(ValueError, sample, [1, 2, 3], -2, replace=False) assert_raises(ValueError, sample, [1, 2, 3], (-1,), replace=False) assert_raises(ValueError, sample, [1, 2, 3], (-1, 1), replace=False) |