gh-135376: Fix and improve test_random (GH-135377) · python/cpython@c555123 · GitHub
Skip to content

Commit c555123

Browse files
gh-135376: Fix and improve test_random (GH-135377)
* Remove duplicated code. Tests for Random and SystemRandom now share the code. * Move implementation agnostic tests that was only run for SystemRandom, so they are now run for Random too. * Add tests for __index__() support. * Add tests for randint().
1 parent 21f3d15 commit c555123

1 file changed

Lines changed: 134 additions & 161 deletions

File tree

Lib/test/test_random.py

Lines changed: 134 additions & 161 deletions

0 commit comments

Comments
 (0)