summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_sdist.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-02-25 22:31:38 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-02-25 22:31:38 (GMT)
commit0f31e6db36b19fecb403f7eb75d136aad9186e54 (patch)
treee173bad30bd2563fc9eb72654576a931e457a2f2 /Lib/distutils/tests/test_sdist.py
parent134708ab14450fa55e96422545548a4b671f1490 (diff)
downloadcpython-0f31e6db36b19fecb403f7eb75d136aad9186e54.zip
cpython-0f31e6db36b19fecb403f7eb75d136aad9186e54.tar.gz
cpython-0f31e6db36b19fecb403f7eb75d136aad9186e54.tar.bz2
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 ........
Diffstat (limited to 'Lib/distutils/tests/test_sdist.py')
-rw-r--r--Lib/distutils/tests/test_sdist.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py
index 9c579b4..15a8c80 100644
--- a/Lib/distutils/tests/test_sdist.py
+++ b/Lib/distutils/tests/test_sdist.py
@@ -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"""