SIGN IN SIGN UP

gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (#113378)

* gh-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.

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
R
Ronald Oussoren committed
5f665e99e0b8a52415f83c2416eaf28abaacc3ae
Parent: bee627c
Committed by GitHub <noreply@github.com> on 12/22/2023, 11:09:16 AM