distutils2: Restore $HOME after test has run (#12765)
http://hg.python.org/distutils2/rev/0151c8da5e4b changeset: 1131:0151c8da5e4b user: Éric Araujo <merwok@netwok.org> date: Mon Aug 29 00:18:38 2011 +0200 summary: Restore $HOME after test has run (#12765) files: distutils2/tests/test_dist.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/distutils2/tests/test_dist.py b/distutils2/tests/test_dist.py --- a/distutils2/tests/test_dist.py +++ b/distutils2/tests/test_dist.py @@ -273,8 +273,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[:] -- Repository URL: http://hg.python.org/distutils2
participants (1)
-
eric.araujo