mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #18375: Assume --randomize when --randseed is used for running the testsuite.
This commit is contained in:
parent
a68650553d
commit
d9e7c86d7e
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue