]> granicus.if.org Git - python/commit
bpo-37335, test_c_locale_coercion: Remove unnecessary code (GH-14447)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jul 2019 11:18:40 +0000 (04:18 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Jul 2019 11:18:40 +0000 (04:18 -0700)
commit518dc94e423398f7b0b5fd7bd5b84f138618e68e
treec539734408628160870be80917731c952f1d931d
parentbd92b94da93198c8385c06ca908407f172c7e8b2
bpo-37335, test_c_locale_coercion: Remove unnecessary code (GH-14447)

Python initialization now ensures that sys stream encoding
names are always normalized by codecs.lookup(encoding).name.
Simplify test_c_locale_coercion: it doesn't have to normalize
encoding names anymore.
(cherry picked from commit 61bf97e91620e020939d57a36918ab22579920ff)

Co-authored-by: Jakub KulĂ­k <Kulikjak@gmail.com>
Lib/test/test_c_locale_coercion.py
Misc/NEWS.d/next/Tests/2019-06-28-16-37-52.bpo-37335.o5S2hY.rst [new file with mode: 0644]