summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-07-06 10:25:52 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-07-06 10:25:52 (GMT)
commitd9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac (patch)
tree3e35f0619a4c53014ef880943e457cbd8af7914e /Lib/test/regrtest.py
parenta68650553d8e5339610286643dfe4f078244c5ba (diff)
downloadcpython-d9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac.zip
cpython-d9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac.tar.gz
cpython-d9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac.tar.bz2
Issue #18375: Assume --randomize when --randseed is used for running the testsuite.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ddb6b92..ae62c6e 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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