]> granicus.if.org Git - python/commit
Restore the locale to "C" on exit.
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 18 Jul 2003 03:19:20 +0000 (03:19 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 18 Jul 2003 03:19:20 +0000 (03:19 +0000)
commit096d986f3b2be9c1ea61efbf66cf85492bfcd6a8
tree12f774ff93116cd1c377db0df4b6d81f39da5167
parent95be8bdab74f9f8bbb25387b41eb0ff5e2d5d33f
Restore the locale to "C" on exit.

If this doesn't happen, it leaves the locale in a state that can cause
other tests to fail.  For example, running test_strptime,
test_logging, and test_time in that order.
Lib/test/test_logging.py