summaryrefslogtreecommitdiffstats
path: root/Lib/test/bad_coding.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-12 03:35:08 (GMT)
committerGitHub <noreply@github.com>2023-09-12 03:35:08 (GMT)
commita84cb74d42a28cf8e72ed7b5d9412fc13d18c817 (patch)
treea3d007a2718db76fc6cca4ed21c00ae84c1b440c /Lib/test/bad_coding.py
parent4e77645986fd27beaf25779426ae8580009fae33 (diff)
downloadcpython-a84cb74d42a28cf8e72ed7b5d9412fc13d18c817.zip
cpython-a84cb74d42a28cf8e72ed7b5d9412fc13d18c817.tar.gz
cpython-a84cb74d42a28cf8e72ed7b5d9412fc13d18c817.tar.bz2
gh-109276: libregrtest calls random.seed() before each test (#109279)
libregrtest now calls random.seed() before running each test file when -r/--randomize command line option is used. Moreover, it's also called in worker processes. It should help to make tests more deterministic. Previously, it was only called once in the main process before running all test files and it was not called in worker processes. * Convert some f-strings to regular strings in test_regrtest when f-string is not needed. * Remove unused all_methods variable from test_regrtest. * Add RunTests members are now mandatory.
Diffstat (limited to 'Lib/test/bad_coding.py')
0 files changed, 0 insertions, 0 deletions