mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Merged revisions 69976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69976 | tarek.ziade | 2009-02-25 23:29:27 +0100 (Wed, 25 Feb 2009) | 1 line Fixed #5316 : test failure in test_site ........
This commit is contained in:
parent
134708ab14
commit
0f31e6db36
3 changed files with 6 additions and 6 deletions
|
|
@ -37,10 +37,9 @@ somecode%(sep)sdoc.txt
|
|||
class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase):
|
||||
|
||||
def setUp(self):
|
||||
support.LoggingSilencer.setUp(self)
|
||||
# PyPIRCCommandTestCase creates a temp dir already
|
||||
# and put it in self.tmp_dir
|
||||
PyPIRCCommandTestCase.setUp(self)
|
||||
super(sdistTestCase, self).setUp()
|
||||
# setting up an environment
|
||||
self.old_path = os.getcwd()
|
||||
os.mkdir(join(self.tmp_dir, 'somecode'))
|
||||
|
|
@ -54,8 +53,7 @@ class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase):
|
|||
def tearDown(self):
|
||||
# back to normal
|
||||
os.chdir(self.old_path)
|
||||
PyPIRCCommandTestCase.tearDown(self)
|
||||
support.LoggingSilencer.tearDown(self)
|
||||
super(sdistTestCase, self).tearDown()
|
||||
|
||||
def get_cmd(self, metadata=None):
|
||||
"""Returns a cmd"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue