mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
reset locale after DateFormatter test
This commit is contained in:
parent
f3340c1152
commit
09a332aff3
1 changed files with 2 additions and 0 deletions
|
|
@ -310,6 +310,8 @@ class TestDateFormatter(unittest.TestCase):
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
shutil.rmtree(self.temp_content)
|
shutil.rmtree(self.temp_content)
|
||||||
shutil.rmtree(self.temp_output)
|
shutil.rmtree(self.temp_output)
|
||||||
|
# reset locale to default
|
||||||
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(locale_available('fr_FR.UTF-8') or
|
@unittest.skipUnless(locale_available('fr_FR.UTF-8') or
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue