Commit 2bf1a787 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue #28743: Reduce memory consumption for random module tests

parent f8a38155
......@@ -633,7 +633,7 @@ class MersenneTwister_TestBasicOps(TestBasicOps, unittest.TestCase):
def test_choices_algorithms(self):
# The various ways of specifying weights should produce the same results
choices = self.gen.choices
n = 13132817
n = 104729
self.gen.seed(8675309)
a = self.gen.choices(range(n), k=10000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment