]> granicus.if.org Git - python/commitdiff
Issue #18375: Assume --randomize when --randseed is used for running the testsuite.
authorFlorent Xicluna <florent.xicluna@gmail.com>
Sat, 6 Jul 2013 10:25:52 +0000 (12:25 +0200)
committerFlorent Xicluna <florent.xicluna@gmail.com>
Sat, 6 Jul 2013 10:25:52 +0000 (12:25 +0200)
Lib/test/regrtest.py
Misc/NEWS

index ddb6b9230c1c6c20c000b6f9eddfa99883b487a4..ae62c6e7a0f1851c33a4fa051bf2c047a6e394f4 100755 (executable)
@@ -346,6 +346,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
         elif o in ('-r', '--randomize'):
             randomize = True
         elif o == '--randseed':
+            randomize = True
             random_seed = int(a)
         elif o in ('-f', '--fromfile'):
             fromfile = a
index d0f2462f7f54bfb2853d8a876dd51b4c9ac223e9..a1f30847fec02acee750320a219659b868b8fd0c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -158,6 +158,9 @@ IDLE
 Tests
 -----
 
+- Issue #18375: Assume --randomize when --randseed is used for running the
+  testsuite.
+
 - Issue #11185: Fix test_wait4 under AIX.  Patch by SĂ©bastien SablĂ©.
 
 - Issue #17691: test_univnewlines now works with unittest test discovery.