SIGN IN SIGN UP

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.
V
Victor Stinner committed
a84cb74d42a28cf8e72ed7b5d9412fc13d18c817
Parent: 4e77645
Committed by GitHub <noreply@github.com> on 9/12/2023, 3:35:08 AM