mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Merged revisions 69976 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69976 | tarek.ziade | 2009-02-25 23:29:27 +0100 (Wed, 25 Feb 2009) | 1 line Fixed #5316 : test failure in test_site ........
This commit is contained in:
parent
134708ab14
commit
0f31e6db36
3 changed files with 6 additions and 6 deletions
|
|
@ -50,7 +50,7 @@ class PyPIRCCommandTestCase(support.TempdirManager, unittest.TestCase):
|
|||
|
||||
def setUp(self):
|
||||
"""Patches the environment."""
|
||||
support.TempdirManager.setUp(self)
|
||||
super(PyPIRCCommandTestCase, self).setUp()
|
||||
|
||||
if 'HOME' in os.environ:
|
||||
self._old_home = os.environ['HOME']
|
||||
|
|
@ -78,7 +78,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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue