bpo-44647: Fix test_httpservers failing on Unicode characters in os.e… · python/cpython@356bdff · GitHub
Skip to content

Commit 356bdff

Browse files
miss-islingtonambv
andauthored
bpo-44647: Fix test_httpservers failing on Unicode characters in os.environ on Windows (GH-27161) (#27169)
GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test. (cherry picked from commit 82b218f) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
1 parent 47695e3 commit 356bdff

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

Lib/test/test_httpservers.py

Lines changed: 13 additions & 4 deletions

0 commit comments

Comments
 (0)