Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
ce34ba6e3c5f44d40d723933cd9c03af70a50410
/
Lib
/
test
/
test_random.py
75f1fc2
Revert changes for #13355 by request from Raymond Hettinger
by Andrew Svetlov
· 12 years ago
b6cdae3
Issue #13355: Raise ValueError on random.triangular call with invalid params.
by Andrew Svetlov
· 12 years ago
65d5639
Issue #17141: random.vonmisesvariate() no more hangs for large kappas.
by Serhiy Storchaka
· 12 years ago
9aaeb5e
Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
by Mark Dickinson
· 12 years ago
e0afb72
Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit machines.
by Mark Dickinson
· 13 years ago
ffd2a42
Issue 9816: Random.jumpahead(n) didn't work well for small values of n.
by Raymond Hettinger
· 15 years ago
6de9e93
Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are
by Florent Xicluna
· 15 years ago
a4f46e1
Remove unused imports in test modules.
by Georg Brandl
· 15 years ago
dde5b94
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
by Ezio Melotti
· 16 years ago
aa98058
use assert[Not]In where appropriate
by Ezio Melotti
· 16 years ago
ce8e33a
Reverting the Revision: 77368. I committed Flox's big patch for tests by
by Senthil Kumaran
· 16 years ago
3ddc435
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
by Senthil Kumaran
· 16 years ago
b844ef7
Silence py3k warning claiming to affect the random module
by Antoine Pitrou
· 16 years ago
5c8da86
convert usage of fail* to assert*
by Benjamin Peterson
· 16 years ago
8f9a1ee
Inline coefficients in gamma(). Add reflection formula. Add comments.
by Raymond Hettinger
· 16 years ago
672237d
warnings.catch_warnings() now returns a list or None instead of the custom
by Brett Cannon
· 17 years ago
fef6b13
Rename math.sum to math.fsum
by Mark Dickinson
· 17 years ago
3c21216
Improve accuracy of gamma test function
by Raymond Hettinger
· 17 years ago
bbc50ea
Issue 1681432: Add triangular distribution the random module.
by Raymond Hettinger
· 17 years ago
6b449f4
Issue #1727780: Support loading pickles of random.Random objects created
by Martin v. Löwis
· 18 years ago
2ee4128
Remove test.test_support.guard_warnings_filter.
by Brett Cannon
· 18 years ago
b84c137
Bug #1486663: don't reject keyword arguments for subclasses of builtin types.
by Georg Brandl
· 19 years ago
94547f7
Bug #1590891: random.randrange don't return correct value for big number
by Raymond Hettinger
· 19 years ago
6d9520c
Add test.test_support.guard_warnings_filter . This function returns a context
by Brett Cannon
· 19 years ago
c17976e
Another crack at bug #1460340: make random.sample(dict)
by Tim Peters
· 19 years ago
3c3346d
SF bug #1460340: random.sample can raise KeyError
by Raymond Hettinger
· 19 years ago
ffdb8bb
Use floor division operator.
by Raymond Hettinger
· 21 years ago
23f1241
SF #1027105: HardwareRandom should be renamed OSRandom
by Raymond Hettinger
· 21 years ago
c1c43ca
Fulfill Martin's request to use try/except rather than a "look before
by Raymond Hettinger
· 21 years ago
b871763
SF bug #1022010: Import random fails
by Raymond Hettinger
· 21 years ago
356a459
Teach the random module about os.urandom().
by Raymond Hettinger
· 21 years ago
5833587
Add some tests for corner cases.
by Raymond Hettinger
· 21 years ago
a690a99
* Migrate set() and frozenset() from the sandbox.
by Raymond Hettinger
· 22 years ago
2f726e9
SF bug #812202: randint is always even
by Raymond Hettinger
· 22 years ago
66d09f1
SF bug #801342: Bug (documentation or real, your choice) in random.sample.
by Raymond Hettinger
· 22 years ago
3081d59
SF bug #778964: bad seed in python 2.3 random
by Raymond Hettinger
· 22 years ago
5f078ff
SF bug #759889: Pickling of Random is broken
by Raymond Hettinger
· 22 years ago
27922ee
Apply the simplified test_support boilerplate.
by Raymond Hettinger
· 22 years ago
320a1b0
Simplify ref count test.
by Raymond Hettinger
· 22 years ago
785d0a3
SF bug #690083: test_random fails sometimes
by Raymond Hettinger
· 22 years ago
105b084
Add refcount test.
by Raymond Hettinger
· 23 years ago
7b0cf76
* Migrate sample distribution test from random.py to test_random.py.
by Raymond Hettinger
· 23 years ago
3dd990c
Move the statistical tests for four distributions into the unittest suite.
by Raymond Hettinger
· 23 years ago
15ec373
Add a test case.
by Raymond Hettinger
· 23 years ago
8ec7881
Test an edge case for sample().
by Raymond Hettinger
· 23 years ago
40f6217
SF patch 658251: Install a C implementation of the Mersenne Twister as the
by Raymond Hettinger
· 23 years ago
04f357c
Get rid of relative imports in all unittests. Now anything that
by Barry Warsaw
· 23 years ago
46c04e1
random.gauss() uses a piece of hidden state used by nothing else,
by Tim Peters
· 23 years ago