summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_random.py
Commit message (Collapse)AuthorAgeFilesLines
* Apply the simplified test_support boilerplate.Raymond Hettinger2003-05-031-6/+4
|
* Simplify ref count test.Raymond Hettinger2003-05-021-3/+3
|
* SF bug #690083: test_random fails sometimesRaymond Hettinger2003-02-211-1/+1
| | | | | | time.sleep(1) sometimes delays for fractionally less than a second resulting in too short of an interval for C's time.time() function to create a distinct seed.
* Add refcount test.Raymond Hettinger2003-02-041-3/+12
|
* * Migrate sample distribution test from random.py to test_random.py.Raymond Hettinger2003-01-171-5/+22
| | | | * Use Sets module to more clearly articulate a couple of tests.
* Move the statistical tests for four distributions into the unittest suite.Raymond Hettinger2003-01-051-0/+41
|
* Add a test case.Raymond Hettinger2003-01-051-0/+19
|
* Test an edge case for sample().Raymond Hettinger2003-01-041-0/+1
|
* SF patch 658251: Install a C implementation of the Mersenne Twister as theRaymond Hettinger2002-12-291-14/+201
| | | | core generator for random.py.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* random.gauss() uses a piece of hidden state used by nothing else,Tim Peters2002-05-051-0/+19
and the .seed() and .whseed() methods failed to reset it. In other words, setting the seed didn't completely determine the sequence of results produced by random.gauss(). It does now. Programs repeatedly mixing calls to a seed method with calls to gauss() may see different results now. Bugfix candidate (random.gauss() has always been broken in this way), despite that it may change results.