[Python-checkins] cpython (merge 3.6 -> default): merge

raymond.hettinger python-checkins at python.org
Mon Nov 21 18:32:32 EST 2016


https://hg.python.org/cpython/rev/9c7072af82b4
changeset:   105315:9c7072af82b4
parent:      105313:5e289a846d9d
parent:      105314:3551fca2c6ae
user:        Raymond Hettinger <python at rcn.com>
date:        Mon Nov 21 15:32:26 2016 -0800
summary:
  merge

files:
  Lib/test/test_random.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py
--- a/Lib/test/test_random.py
+++ b/Lib/test/test_random.py
@@ -629,7 +629,7 @@
     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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list