summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_manifest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/tests/test_manifest.py')
-rw-r--r--Lib/packaging/tests/test_manifest.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/packaging/tests/test_manifest.py b/Lib/packaging/tests/test_manifest.py
index 21a42c3..9fb8b63 100644
--- a/Lib/packaging/tests/test_manifest.py
+++ b/Lib/packaging/tests/test_manifest.py
@@ -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')