]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) (#111154)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 21 Oct 2023 09:18:35 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Oct 2023 09:18:35 +0000 (09:18 +0000)
commit0409057c8650e102bbc3c336c22574c054274a76
tree5ffb85f1f60c41de90806a30f26b5effd1d0feee
parent727f8ee31cadf196ecab51762b2e84a884470618
[3.12] gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) (#111154)

gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143)

If the SOURCE_DATE_EPOCH environment variable is defined, use its
value as the random seed.
(cherry picked from commit 7237fb578dc9db9dc557759a24d8083425107b91)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtests.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2023-10-21-00-10-36.gh-issue-110932.jktjJU.rst [new file with mode: 0644]