summaryrefslogtreecommitdiff
path: root/Lib/test/test_random.py
AgeCommit message (Expand)AuthorLines
2010-12-08Update whatsnew. Salt the random number seed.Raymond Hettinger-2/+2
2010-09-07Remove invalid test (it was supposed to fail on 64-bit machines.).Raymond Hettinger-4/+0
2010-09-07Fix corner case for Random.choice() and add tests.Raymond Hettinger-0/+7
2010-09-07Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger-1/+9
2010-09-07Document which part of the random module module are guaranteed.Raymond Hettinger-1/+16
2010-03-14Merged revisions 78093 via svnmerge fromGeorg Brandl-1/+1
2010-03-11convert shebang lines: python -> python3Benjamin Peterson-1/+1
2010-01-19use assert[Not]In where appropriateBenjamin Peterson-2/+2
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-15/+15
2009-02-19Inline coefficients in gamma(). Add reflection formula. Add comments.Raymond Hettinger-10/+18
2008-08-01Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge fromMark Dickinson-1/+1
2008-07-23Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-...Georg Brandl-5/+3
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-4/+4
2008-03-23Merged revisions 61724-61725,61731-61735,61737,61739,61741,61743-61744,61753,...Christian Heimes-0/+2
2008-01-14Take Tim's advice and have random.sample() support only sequences and sets.Raymond Hettinger-20/+1
2008-01-13Remove defunct parts of the random moduleRaymond Hettinger-63/+1
2007-12-03Merged revisions 59275-59303 via svnmerge fromChristian Heimes-0/+13
2007-09-07Forgot to run the tests after making the places and msg argument keyword-only.Jeffrey Yasskin-2/+2
2007-08-16First merge from the trunk straight into the py3k branch. I'm notGuido van Rossum-1/+1
2007-07-11Patch by Christian Heimes to change self.assert_(x == y) intoGuido van Rossum-2/+2
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-31/+33
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-1/+1
2007-02-01Merged revisions 53451-53537 via svnmerge fromThomas Wouters-0/+8
2007-01-15Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum-18/+18
2007-01-09Merged revisions 53005-53303 via svnmerge fromThomas Wouters-4/+11
2006-08-22Kill reduce(). A coproduction of John Reese, Jacques Frechet, and Alex M.Guido van Rossum-1/+3
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-1/+20
2004-09-27Use floor division operator.Raymond Hettinger-1/+1
2004-09-13SF #1027105: HardwareRandom should be renamed OSRandomRaymond Hettinger-4/+4
2004-09-05Fulfill Martin's request to use try/except rather than a "look beforeRaymond Hettinger-1/+5
2004-09-04SF bug #1022010: Import random failsRaymond Hettinger-3/+6
2004-08-30Teach the random module about os.urandom().Raymond Hettinger-0/+102
2004-07-09Add some tests for corner cases.Raymond Hettinger-1/+25
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-8/+6
2003-10-05SF bug #812202: randint is always evenRaymond Hettinger-0/+78
2003-09-06SF bug #801342: Bug (documentation or real, your choice) in random.sample.Raymond Hettinger-0/+10
2003-08-09SF bug #778964: bad seed in python 2.3 randomRaymond Hettinger-1/+1
2003-06-24SF bug #759889: Pickling of Random is brokenRaymond Hettinger-0/+7
2003-05-03Apply the simplified test_support boilerplate.Raymond Hettinger-6/+4
2003-05-02Simplify ref count test.Raymond Hettinger-3/+3
2003-02-21SF bug #690083: test_random fails sometimesRaymond Hettinger-1/+1
2003-02-04Add refcount test.Raymond Hettinger-3/+12
2003-01-17* Migrate sample distribution test from random.py to test_random.py.Raymond Hettinger-5/+22
2003-01-05Move the statistical tests for four distributions into the unittest suite.Raymond Hettinger-0/+41
2003-01-05Add a test case.Raymond Hettinger-0/+19
2003-01-04Test an edge case for sample().Raymond Hettinger-0/+1
2002-12-29SF patch 658251: Install a C implementation of the Mersenne Twister as theRaymond Hettinger-14/+201
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-05-05random.gauss() uses a piece of hidden state used by nothing else,Tim Peters-0/+19