From: Tarek Ziadé Date: Fri, 29 May 2009 10:04:06 +0000 (+0000) Subject: using super in distutils' sdistTestCase X-Git-Tag: v2.6.3rc1~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba130b825d5634560ab4d3aeb53873040ed019f1;p=python using super in distutils' sdistTestCase --- diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 0d839b5c6e..59c24fd433 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -29,14 +29,14 @@ recursive-include somecode * 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):