commit | 7004bd1a3de06330761d164bae0d82c597bf39cf | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Oct 19 18:54:25 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Oct 19 18:54:25 2010 +0000 |
tree | 4c27a09a59a559026e5f1cf157df2573fbdb9304 | |
parent | f87cc0448158fedad9ba0a1edcec3664d9f90eb4 [diff] |
#10092: Properly reset locale in Locale*Calendar classes. The context manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this.