mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #28743: Reduce memory consumption for random module tests
This commit is contained in:
parent
7f94619555
commit
6023d33433
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue