summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_create.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2011-05-23 17:07:56 (GMT)
committerTarek Ziade <tarek@ziade.org>2011-05-23 17:07:56 (GMT)
commite1177d9d17aa5ec9c1953e37fbb39f97b0a6f2ec (patch)
tree5364264a1f45e08315c493139281e471f347c0ed /Lib/packaging/tests/test_create.py
parentfabc30833f9bab8d1d028c1295259d85be96a789 (diff)
downloadcpython-e1177d9d17aa5ec9c1953e37fbb39f97b0a6f2ec.zip
cpython-e1177d9d17aa5ec9c1953e37fbb39f97b0a6f2ec.tar.gz
cpython-e1177d9d17aa5ec9c1953e37fbb39f97b0a6f2ec.tar.bz2
Issue #12125: fixed the failures under Solaris due to improper test cleanup.
Diffstat (limited to 'Lib/packaging/tests/test_create.py')
-rw-r--r--Lib/packaging/tests/test_create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_create.py b/Lib/packaging/tests/test_create.py
index 42cf34b..906ca8f 100644
--- a/Lib/packaging/tests/test_create.py
+++ b/Lib/packaging/tests/test_create.py
@@ -31,11 +31,11 @@ class CreateTestCase(support.TempdirManager,
'doc': sys.prefix + '/share/doc/pyxfoil', }
def tearDown(self):
- super(CreateTestCase, self).tearDown()
sys.stdin = self._stdin
sys.stdout = self._stdout
os.chdir(self._cwd)
sysconfig.get_paths = self._old_get_paths
+ super(CreateTestCase, self).tearDown()
def test_ask_yn(self):
sys.stdin.write('y\n')