summaryrefslogtreecommitdiff
path: root/numpy/random/tests/test_randomstate_regression.py
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Protect divide by 0 in multinomial (#20490)Kevin Sheppard2021-12-021-0/+13
| | | | | | | | | | Guard against empty pvals closes #20483 * MAINT: Correct exception type Raise TypeError for enhanced backward compat when pvals is scalar
* index_tricks.py file not modifiedshubham119411402021-08-191-2/+2
|
* conversion of strings to fstringsJakob2020-10-241-2/+2
|
* MAINT: simplify code that assumes str/unicode and int/long are different ↵Eric Wieser2020-03-261-8/+0
| | | | | types (#15816) Cleanup from the dropping of python 2
* NEP: issue deprecation warning when creating ragged array (NEP 34)Matti Picus2020-01-211-2/+3
| | | | This implements NEP 34.
* MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-051-2/+2
| | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
* Revert "DEP: issue deprecation warning when creating ragged array (NEP 34)"revert-14794-nep-0034-implRalf Gommers2019-12-061-3/+2
|
* MAINT: revert change to assert_array_equal, adjust testsmattip2019-10-311-1/+2
|
* DEP: issue deprecation warning when creating ragged array (NEP 34)mattip2019-10-311-1/+1
|
* API: make BitGenerators privatemattip2019-10-111-1/+1
|
* BUG: random: Create a legacy implementation of random.binomial.Warren Weckesser2019-09-161-1/+17
| | | | | | | | | Create a legacy implementation of the random_binomial method of RandomState that does not include the "short-circuit" check for n == 0 or p == 0. This ensures that the stream of variates is consistent with the behavior in 1.16. Closes gh-14522.
* BUG: Fix randint when range is 2**32Kevin Sheppard2019-09-141-0/+11
| | | | | | Fix randint to use 32-bit path when range is exactly 2**32 closes #14189
* BUG: Ensure Windows choice returns int32Kevin Sheppard2019-06-021-0/+11
| | | | | | Downcast from searchsorted on Windows to ensure int32 is returned closes #9867
* BUG: Fix RandomState argument nameKevin Sheppard2019-05-291-0/+6
| | | | | | RandomState's argument must be named seed for backward compat closes #13669
* BUG/MAINT: Disallow non-native byteorder in random intsKevin Sheppard2019-05-281-0/+9
| | | | | | Warn that non-native byte order is not supported in randint and integers closes #13159
* BENCH: convert bencmarks to asv formatmattip2019-05-201-0/+157
remove files that were part of the origal repo rework randomgen docs to integrate with numpy and fix some links remove convenience functions, require explicit call to gen.brng move code out of numpy.random.randomgen into numpy.random