diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-10 22:39:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 22:39:49 (GMT) |
commit | cef4951116744d140dae4e4c12738a1cb99a676e (patch) | |
tree | 897beb9843bd4b183f1f3c5619ecc61350f3c02e /Python/pythonrun.c | |
parent | b070d73ff20df210eb41e3e5104ba6c355d9584e (diff) | |
download | cpython-cef4951116744d140dae4e4c12738a1cb99a676e.zip cpython-cef4951116744d140dae4e4c12738a1cb99a676e.tar.gz cpython-cef4951116744d140dae4e4c12738a1cb99a676e.tar.bz2 |
[3.11] gh-109237: Fix test_site for non-ASCII working directory (GH-109238) (#109240)
gh-109237: Fix test_site for non-ASCII working directory (GH-109238)
Fix test_site.test_underpth_basic() when the working directory
contains at least one non-ASCII character: encode the "._pth" file to
UTF-8 and enable the UTF-8 Mode to use UTF-8 for the child process
stdout.
(cherry picked from commit cbb3a6f8ada3d133c3ab9f9465b65067fce5bb42)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions