Skip to content

Commit d9e7c86

Browse files
committed
Issue #18375: Assume --randomize when --randseed is used for running the testsuite.
1 parent a686505 commit d9e7c86

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Lib/test/regrtest.py

+1
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
346346
elif o in ('-r', '--randomize'):
347347
randomize = True
348348
elif o == '--randseed':
349+
randomize = True
349350
random_seed = int(a)
350351
elif o in ('-f', '--fromfile'):
351352
fromfile = a

Misc/NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ IDLE
158158
Tests
159159
-----
160160

161+
- Issue #18375: Assume --randomize when --randseed is used for running the
162+
testsuite.
163+
161164
- Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.
162165

163166
- Issue #17691: test_univnewlines now works with unittest test discovery.

0 commit comments

Comments
 (0)