SIGN IN SIGN UP

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().
S
Serhiy Storchaka committed
c55512311b7cb8b7c27c19f56cd8f872be29aedc
Parent: 21f3d15
Committed by GitHub <noreply@github.com> on 6/18/2025, 3:26:01 PM