diff options
author | Justin Mayer <entroP@gmail.com> | 2020-04-16 10:17:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 10:17:54 +0200 |
commit | cb3bb4ad6966e7c384275da7d52ac7d67852183a (patch) | |
tree | d920e13e35e8a890119c23c4c8ba0d8d5927ccfb | |
parent | e18c9d2c60195b25049ad5660e57253410096dc2 (diff) | |
parent | d13108b03a0d403f641fbb6f803499e2c7ffa147 (diff) | |
download | pelican-cb3bb4ad6966e7c384275da7d52ac7d67852183a.tar.gz |
Merge pull request #2727 from avaris/cleanup-after-tests
Reset global state set by tests in test_pelican
-rw-r--r-- | pelican/tests/test_pelican.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pelican/tests/test_pelican.py b/pelican/tests/test_pelican.py index da23cb0a..88122846 100644 --- a/pelican/tests/test_pelican.py +++ b/pelican/tests/test_pelican.py @@ -50,6 +50,7 @@ class TestPelican(LoggedTestCase): locale.setlocale(locale.LC_ALL, str('C')) def tearDown(self): + read_settings() # cleanup PYGMENTS_RST_OPTIONS rmtree(self.temp_path) rmtree(self.temp_cache) locale.setlocale(locale.LC_ALL, self.old_locale) |