From 6023d334337256c8e3bc0eb11e6952d0e021aec5 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 21 Nov 2016 15:32:08 -0800 Subject: Issue #28743: Reduce memory consumption for random module tests --- Lib/test/test_random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py index 84a1e83..5b6a4f0 100644 --- a/Lib/test/test_random.py +++ b/Lib/test/test_random.py @@ -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) -- cgit v0.12