diff options
| author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-29 08:08:07 (GMT) |
|---|---|---|
| committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-29 08:08:07 (GMT) |
| commit | 3e3eace7d75b748254589b76970367588d320199 (patch) | |
| tree | 4cfda2793c52724e3a35f4d805918508f56078b5 /Lib/distutils/tests/test_dir_util.py | |
| parent | 578a228ee265e9ce4d88c01f8d9fd57a237cfc3e (diff) | |
| download | cpython-3e3eace7d75b748254589b76970367588d320199.zip cpython-3e3eace7d75b748254589b76970367588d320199.tar.gz cpython-3e3eace7d75b748254589b76970367588d320199.tar.bz2 | |
Fixed #6131: test_modulefinder leaked when run after test_distutils
Diffstat (limited to 'Lib/distutils/tests/test_dir_util.py')
| -rw-r--r-- | Lib/distutils/tests/test_dir_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_dir_util.py b/Lib/distutils/tests/test_dir_util.py index 6b22f05..0f694aa 100644 --- a/Lib/distutils/tests/test_dir_util.py +++ b/Lib/distutils/tests/test_dir_util.py @@ -18,7 +18,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase): self._logs.append(msg) def setUp(self): - support.TempdirManager.setUp(self) + super(DirUtilTestCase, self).setUp() self._logs = [] tmp_dir = self.mkdtemp() self.root_target = os.path.join(tmp_dir, 'deep') @@ -29,7 +29,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase): def tearDown(self): log.info = self.old_log - support.TempdirManager.tearDown(self) + super(DirUtilTestCase, self).tearDown() def test_mkpath_remove_tree_verbosity(self): |
