Skip to content

Comments

[3.11] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378)#113399

Merged
ronaldoussoren merged 1 commit intopython:3.11from
miss-islington:backport-5f665e9-3.11
Dec 23, 2023
Merged

[3.11] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378)#113399
ronaldoussoren merged 1 commit intopython:3.11from
miss-islington:backport-5f665e9-3.11

Conversation

@miss-islington
Copy link
Contributor

This fixes the existing tests when PYTHONIOENCODING is
set by unsetting PYTHONIOENCODING.

Also add a test that explicitly checks what happens
when PYTHONIOENCODING is set.

(cherry picked from commit 5f665e9)

Co-authored-by: Ronald Oussoren ronaldoussoren@mac.com
Co-authored-by: Nikita Sobolev mail@sobolevn.me

…set (pythonGH-113378)

* pythongh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set

This fixes the existing tests when PYTHONIOENCODING is
set by unsetting PYTHONIOENCODING.

Also add a test that explicitly checks what happens
when PYTHONIOENCODING is set.

(cherry picked from commit 5f665e9)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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.

2 participants