summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_config.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-02-25 22:29:27 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-02-25 22:29:27 (GMT)
commite3bc0eff256e5eda47a4190171db65ad5b9102db (patch)
tree636869a799a608fd1b4a75dbeead11e739dc74cd /Lib/distutils/tests/test_config.py
parentb6464876876d6cb2ce53c40ae33daa5a00d522a4 (diff)
downloadcpython-e3bc0eff256e5eda47a4190171db65ad5b9102db.zip
cpython-e3bc0eff256e5eda47a4190171db65ad5b9102db.tar.gz
cpython-e3bc0eff256e5eda47a4190171db65ad5b9102db.tar.bz2
Fixed #5316 : test failure in test_site
Diffstat (limited to 'Lib/distutils/tests/test_config.py')
-rw-r--r--Lib/distutils/tests/test_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_config.py b/Lib/distutils/tests/test_config.py
index d812769..a18f453 100644
--- a/Lib/distutils/tests/test_config.py
+++ b/Lib/distutils/tests/test_config.py
@@ -51,7 +51,7 @@ class PyPIRCCommandTestCase(support.TempdirManager, unittest.TestCase):
def setUp(self):
"""Patches the environment."""
- support.TempdirManager.setUp(self)
+ super(PyPIRCCommandTestCase, self).setUp()
if os.environ.has_key('HOME'):
self._old_home = os.environ['HOME']
@@ -79,7 +79,7 @@ class PyPIRCCommandTestCase(support.TempdirManager, unittest.TestCase):
else:
os.environ['HOME'] = self._old_home
set_threshold(self.old_threshold)
- support.TempdirManager.tearDown(self)
+ super(PyPIRCCommandTestCase, self).tearDown()
def test_server_registration(self):
# This test makes sure PyPIRCCommand knows how to: