]> granicus.if.org Git - python/commit
Issue #29273: Remove unneeded workaround to restore locale
authorMartin Panter <vadmium+py@gmail.com>
Mon, 23 Jan 2017 22:11:09 +0000 (22:11 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 23 Jan 2017 22:11:09 +0000 (22:11 +0000)
commitb1b985da12465a4c5488c7543ffb743f49d3650f
tree8289fd1cb08026ebcb0494adf0b58af7ae0b2df5
parent3a1042567c887b7a995a8f921f50acba2761310c
Issue #29273: Remove unneeded workaround to restore locale

The “readline” module already has a workaround using setlocale(LC_CTYPE,
NULL). The code in test___all__ calls getlocale(), which can subtly alter
the locale string and cause the test framework to complain.
Lib/test/test___all__.py