1
0
Fork 0
forked from github/pelican

reset locale after DateFormatter test

This commit is contained in:
Deniz Turgut 2013-04-22 20:07:53 -04:00
commit 09a332aff3

View file

@ -310,6 +310,8 @@ class TestDateFormatter(unittest.TestCase):
def tearDown(self):
shutil.rmtree(self.temp_content)
shutil.rmtree(self.temp_output)
# reset locale to default
locale.setlocale(locale.LC_ALL, '')
@unittest.skipUnless(locale_available('fr_FR.UTF-8') or