From: Tarek Ziadé Date: Fri, 29 May 2009 10:23:41 +0000 (+0000) Subject: using super in distutils' sdistTestCase X-Git-Tag: 3.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2207c06a3205a3f91eaaebd15687e631d6253c6;p=thirdparty%2FPython%2Fcpython.git using super in distutils' sdistTestCase --- diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index 0d839b5c6e9a..59c24fd43382 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):