]> granicus.if.org Git - python/commit
Issue #18228: Use locale.setlocale(name, None) instead of
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 19:28:14 +0000 (21:28 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 19:28:14 +0000 (21:28 +0200)
commit546ccf090e6960dadf6cae6a088d71fe42ce7b86
treee6600d4c09b5c77433b2eed0e1d48e1c9184ff0d
parentd9ccf7fe22ebd6225e2c436e47ea6d92a8b7404a
Issue #18228: Use locale.setlocale(name, None) instead of
locale.getlocale(name) in test.regrtest.saved_test_environment

locale.getlocale() parses the locale, which is useless for
saved_test_environment.
Lib/test/regrtest.py