Issue #28743: Reduce memory consumption for random module tests

This commit is contained in:
Raymond Hettinger 2016-11-21 15:32:08 -08:00
parent 7f94619555
commit 6023d33433
1 changed files with 1 additions and 1 deletions

View File

@ -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)