summaryrefslogtreecommitdiff
path: root/tests/test_rand.py
Commit message (Collapse)AuthorAgeFilesLines
* Don’t inherit from object (#1084)lovetox2022-01-301-1/+1
| | | In python3 all classes inherit by default from object
* Paint it Black by the Rolling Stones (#920)Alex Gaynor2020-07-231-6/+2
|
* restore a subset of the rand module (#708)Paul Kehrer2017-11-201-0/+38
| | | | | | | | | | * restore a subset of the rand module * flake * remove cleanup, go ahead and assume status will always be 1 * lighten and add power
* Delete rand.py (#675)Alex Gaynor2017-07-251-172/+0
|
* Fixed #657 -- handle OverflowErrors on large allocation requests (#659)Alex Gaynor2017-07-061-4/+4
| | | | | | * Fixed #657 -- handle OverflowErrors on large allocation requests * always be overflowing
* Drop the deprecated rand.egd function (#630)Alex Gaynor2017-05-311-22/+0
| | | | | | | | | | | | | | * Drop the deprecated rand.egd function * Removed egd tests * Removed egd docs * Document the removal * unused imports * Update CHANGELOG.rst
* Patch up easy TypeError-based coverage gaps (#598)lymanZerga112017-01-301-4/+16
|
* Convert test_rand to use pytest-style tests (#563)Alex Chan2016-10-241-95/+82
| | | | | | | | | | Fix up the assert helpers, subclass form `object` rather than test case, and use parametrization where appropriate. One helper method on the original `TestCase` was the ability to create temporary directories that were cleaned up at the end of the test -- now we use a pytest fixture instead: http://doc.pytest.org/en/latest/tmpdir.html Addresses #340.
* Fixed #529 -- use the native bytes syntax (#536)Alex Gaynor2016-09-111-6/+6
|
* Replace the only EGD call by urandomHynek Schlawack2015-10-201-34/+17
| | | | Also harmonize documentation. #boyScout
* Move package into srcHynek Schlawack2015-10-171-0/+212
Prevents accidental imports when running tests.