mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merged revisions 73008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73008 | tarek.ziade | 2009-05-29 17:08:07 +0900 | 1 line Fixed #6131: test_modulefinder leaked when run after test_distutils ........
This commit is contained in:
parent
2bcde144ae
commit
2703fd9134
5 changed files with 11 additions and 10 deletions
|
@ -16,7 +16,7 @@ class FileUtilTestCase(support.TempdirManager, unittest.TestCase):
|
|||
self._logs.append(msg)
|
||||
|
||||
def setUp(self):
|
||||
support.TempdirManager.setUp(self)
|
||||
super(FileUtilTestCase, self).setUp()
|
||||
self._logs = []
|
||||
self.old_log = log.info
|
||||
log.info = self._log
|
||||
|
@ -27,7 +27,7 @@ class FileUtilTestCase(support.TempdirManager, unittest.TestCase):
|
|||
|
||||
def tearDown(self):
|
||||
log.info = self.old_log
|
||||
support.TempdirManager.tearDown(self)
|
||||
super(FileUtilTestCase, self).tearDown()
|
||||
|
||||
def test_move_file_verbosity(self):
|
||||
f = open(self.source, 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue