]> granicus.if.org Git - python/commitdiff
using super in distutils' sdistTestCase
authorTarek Ziadé <ziade.tarek@gmail.com>
Fri, 29 May 2009 10:04:06 +0000 (10:04 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Fri, 29 May 2009 10:04:06 +0000 (10:04 +0000)
Lib/distutils/tests/test_sdist.py

index 0d839b5c6e9aec68108ed62db90d9c1066a86269..59c24fd43382c257bfacb1ccd9fb53126277e851 100644 (file)
@@ -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):