[Python-checkins] r73012 - python/branches/release26-maint/Lib/distutils/tests/test_sdist.py
tarek.ziade
python-checkins at python.org
Fri May 29 12:04:52 CEST 2009
Author: tarek.ziade
Date: Fri May 29 12:04:06 2009
New Revision: 73012
Log:
using super in distutils' sdistTestCase
Modified:
python/branches/release26-maint/Lib/distutils/tests/test_sdist.py
Modified: python/branches/release26-maint/Lib/distutils/tests/test_sdist.py
==============================================================================
--- python/branches/release26-maint/Lib/distutils/tests/test_sdist.py (original)
+++ python/branches/release26-maint/Lib/distutils/tests/test_sdist.py Fri May 29 12:04:06 2009
@@ -29,14 +29,14 @@
class sdistTestCase(PyPIRCCommandTestCase):
def setUp(self):
- PyPIRCCommandTestCase.setUp(self)
+ super(sdistTestCase, self).setUp()
self.old_path = os.getcwd()
def tearDown(self):
os.chdir(self.old_path)
if os.path.exists(TEMP_PKG):
shutil.rmtree(TEMP_PKG)
- PyPIRCCommandTestCase.tearDown(self)
+ super(sdistTestCase, self).tearDown()
def _init_tmp_pkg(self):
if os.path.exists(TEMP_PKG):
More information about the Python-checkins
mailing list