[Python-checkins] r73013 - python/branches/release30-maint/Lib/distutils/tests/test_sdist.py

tarek.ziade python-checkins at python.org
Fri May 29 12:23:42 CEST 2009


Author: tarek.ziade
Date: Fri May 29 12:23:41 2009
New Revision: 73013
Log:
using super in distutils' sdistTestCase
Modified:
 python/branches/release30-maint/Lib/distutils/tests/test_sdist.py
Modified: python/branches/release30-maint/Lib/distutils/tests/test_sdist.py
==============================================================================
--- python/branches/release30-maint/Lib/distutils/tests/test_sdist.py	(original)
+++ python/branches/release30-maint/Lib/distutils/tests/test_sdist.py	Fri May 29 12:23:41 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

AltStyle によって変換されたページ (->オリジナル) /