summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_random.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)Serhiy Storchaka2018-05-081-14/+64
* bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-...Wolfgang Maier2018-04-171-15/+65
* bpo-33203: Ensure random.choice always raises IndexError on empty sequence (G...Wolfgang Maier2018-04-051-1/+4
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
* bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad...Oren Milman2017-09-281-0/+11
* bpo-31482: Missing bytes support for random.seed() version 1 (#3614)Raymond Hettinger2017-09-171-0/+27
* bpo-31160: Fix test_random for zombie process (#3045)Victor Stinner2017-08-091-1/+7
* bpo-16500: Allow registering at-fork handlers (#1715)Antoine Pitrou2017-05-271-0/+19
* bpo-30308: Code coverage for argument in random.shuffle (#1504)csabella2017-05-111-1/+11
* bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)bladebryan2017-04-221-0/+5
* mergeRaymond Hettinger2016-11-211-1/+1
|\
| * Issue #28743: Reduce memory consumption for random module testsRaymond Hettinger2016-11-211-1/+1
* | mergeRaymond Hettinger2016-11-211-0/+1
|\ \ | |/
| * Issue 28475: Improve error message for random.sample() with k < 0. (Contribu...Raymond Hettinger2016-11-211-0/+1
* | mergeRaymond Hettinger2016-11-131-1/+1
|\ \ | |/
| * Fix typosRaymond Hettinger2016-11-131-1/+1
* | mergeRaymond Hettinger2016-10-301-0/+17
|\ \ | |/
| * Issue #18844: Strengthen tests to include a case with unequal weightingRaymond Hettinger2016-10-301-0/+17
* | mergeRaymond Hettinger2016-10-291-0/+16
|\ \ | |/
| * Issue #18844: Make the various ways for specifing weights produce the same re...Raymond Hettinger2016-10-291-0/+16
* | Close #28476: Reuse math.factorial() in test_randomVictor Stinner2016-10-191-5/+1
|/
* Issue #18844: Add more testsRaymond Hettinger2016-10-141-0/+14
* Issue #18844: Fix-up examples for random.choices(). Remove over-specified t...Raymond Hettinger2016-10-121-4/+0
* Issue #18844: Make the number of selections a keyword-only argument for rando...Raymond Hettinger2016-09-271-21/+21
* Rename weighted_choices() to just choices()Raymond Hettinger2016-09-071-27/+27
* Issue #18844: Add random.weighted_choices()Raymond Hettinger2016-09-071-0/+68
* Issue #27706: Fix regression in random.seed(somestr, version=1)Raymond Hettinger2016-08-311-0/+18
* Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
* Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+5
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-6/+8
* Issue 13355: Make random.triangular degrade gracefully when low == high.Raymond Hettinger2014-05-261-1/+1
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
|\
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-2/+0
* | Issue #19588: Merge with 3.3Zachary Ware2013-11-261-6/+6
|\ \ | |/
| * Issue #19588: Fixed tests in test_random that were silently skipped mostZachary Ware2013-11-261-6/+6
* | #17789: merge with 3.3.Ezio Melotti2013-04-191-27/+12
|\ \ | |/
| * #17789: test_random now works with unittest test discovery. Patch by Zachary...Ezio Melotti2013-04-191-27/+12
* | Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov2013-04-131-28/+1
|\ \ | |/
| * Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov2013-04-131-31/+1
* | Fix whitespacesAndrew Svetlov2013-04-121-1/+1
|\ \ | |/
| * Fix whitespacesAndrew Svetlov2013-04-121-1/+1
* | Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov2013-04-121-2/+28
|\ \ | |/
| * Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov2013-04-121-1/+31
* | #17492: Additional tests for random module.R David Murray2013-04-021-0/+175
* | Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka2013-02-101-2/+32
|\ \ | |/
| * Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka2013-02-101-2/+32
| |\
| | * Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka2013-02-101-2/+32
* | | Issue #17149: merge fix from 3.3.Mark Dickinson2013-02-101-0/+14
|\ \ \ | |/ /
| * | Issue #17149: merge fix from 3.2.Mark Dickinson2013-02-101-0/+14
| |\ \ | | |/
| | * Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*ma...Mark Dickinson2013-02-101-0/+14