[Python-checkins] cpython (3.3): Issue #18375: Assume --randomize when --randseed is used for running the
florent.xicluna
python-checkins at python.org
Sat Jul 6 12:28:13 CEST 2013
http://hg.python.org/cpython/rev/5bd3f9ed357e
changeset: 84455:5bd3f9ed357e
branch: 3.3
parent: 84453:a2c2ffa1a41c
user: Florent Xicluna <florent.xicluna at gmail.com>
date: Sat Jul 06 12:25:52 2013 +0200
summary:
Issue #18375: Assume --randomize when --randseed is used for running the testsuite.
files:
Lib/test/regrtest.py | 1 +
Misc/NEWS | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -346,6 +346,7 @@
elif o in ('-r', '--randomize'):
randomize = True
elif o == '--randseed':
+ randomize = True
random_seed = int(a)
elif o in ('-f', '--fromfile'):
fromfile = a
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -158,6 +158,9 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list