mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #12125: fixed the failures under Solaris due to improper test cleanup.
This commit is contained in:
parent
fabc30833f
commit
e1177d9d17
4 changed files with 16 additions and 1 deletions
|
@ -26,6 +26,14 @@ class ManifestTestCase(support.TempdirManager,
|
|||
support.LoggingCatcher,
|
||||
unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(ManifestTestCase, self).setUp()
|
||||
self.cwd = os.getcwd()
|
||||
|
||||
def tearDown(self):
|
||||
os.chdir(self.cwd)
|
||||
super(ManifestTestCase, self).tearDown()
|
||||
|
||||
def test_manifest_reader(self):
|
||||
tmpdir = self.mkdtemp()
|
||||
MANIFEST = os.path.join(tmpdir, 'MANIFEST.in')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue