FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-156713: Fix test_nturl2path for non-UTF-8 filesystem encodings (GH-157461) by serhiy-storchaka · Pull Request #157464 · python/cpython · GitHub

Repository navigation

[3.13] gh-156713: Fix test_nturl2path for non-UTF-8 filesystem encodings (GH-157461) - #157464

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-3e1b5d8-3.13
Sep 13, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-3e1b5d8-3.13

Conversation

Copy link
Copy Markdown
Member

Use os_helper.FS_NONASCII and os_helper.TESTFN_UNDECODABLE instead of hardcoded UTF-8 results.

Manual backport: in 3.13 the tests live in test_urllib.Pathname_Tests; only the two surrogate tests need the change, the \xe9 assertions there are Windows-only.

(cherry picked from commit fd0970c)

…encodings (pythonGH-157461)

Use os_helper.FS_NONASCII and os_helper.TESTFN_UNDECODABLE instead of
hardcoded UTF-8 results.
(cherry picked from commit fd0970c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL