commit | 9bb6dfe0a8a57c8919ff0855a4aa0b78f5ce8046 | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Fri Aug 19 17:47:52 2011 +0200 |
committer | Éric Araujo <merwok@netwok.org> | Fri Aug 19 17:47:52 2011 +0200 |
tree | 7174a5a0f51c654f49abfc2f1bea3b269dbaf776 | |
parent | e1da71cc26f145f230dfda79db0f515218f145ea [diff] |
Restore $HOME after test has run (should fix #12765)
diff --git a/Lib/packaging/tests/test_dist.py b/Lib/packaging/tests/test_dist.py index 48335e7..01a11ca 100644 --- a/Lib/packaging/tests/test_dist.py +++ b/Lib/packaging/tests/test_dist.py
@@ -272,8 +272,11 @@ class MetadataTestCase(support.TempdirManager, support.LoggingCatcher, + support.EnvironRestorer, unittest.TestCase): + restore_environ = ['HOME'] + def setUp(self): super(MetadataTestCase, self).setUp() self.argv = sys.argv, sys.argv[:]