mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +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
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue