Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented May 28, 2025

Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8.

Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8.
@vstinnervstinner added tests Tests in the Lib/test dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels May 28, 2025
@vstinnervstinner merged commit 4635115 into python:mainMay 28, 2025
48 checks passed
@vstinnervstinner deleted the test_readline branch May 28, 2025 15:43
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2025
…thonGH-134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8. (cherry picked from commit 4635115) Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 28, 2025
…thonGH-134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8. (cherry picked from commit 4635115) Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app
Copy link

GH-134851 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14 bugs and security fixes label May 28, 2025
@bedevere-app
Copy link

GH-134852 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label May 28, 2025
vstinner added a commit that referenced this pull request May 28, 2025
…H-134841) (#134852) gh-133711: Fix test_readline.test_nonascii() for UTF-8 Mode (GH-134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8. (cherry picked from commit 4635115) Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request May 28, 2025
…H-134841) (#134851) gh-133711: Fix test_readline.test_nonascii() for UTF-8 Mode (GH-134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8. (cherry picked from commit 4635115) Co-authored-by: Victor Stinner <vstinner@python.org>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…thon#134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…thon#134841) Skip the test if the Python UTF-8 Mode is enabled and the LC_CTYPE encoding is not UTF-8.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner