]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 25 Apr 2022 15:03:47 +0000 (08:03 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Apr 2022 15:03:47 +0000 (08:03 -0700)
commit971343eb569a3418aa9a0bad9b638cccf1470ef8
tree3559ca92e4ee828f10518a71a0a96617240630f8
parentdc31334ab1b43225b65358fa361b46c22918b400
gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905)

It always failed on non-UTF-8 locale and prevented running regrtests.
(cherry picked from commit 54d068adfbf2b822bcbf90dac9b3f6684cec0f99)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/libregrtest/setup.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2022-04-25-11-16-36.gh-issue-91904.13Uvrz.rst [new file with mode: 0644]