diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-05-29 09:14:04 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-05-29 09:14:04 (GMT) |
commit | 2703fd9134e46146df51b1af383632d5769faebd (patch) | |
tree | baa1f86f14d3027064a7e1b1f978c979d7c745ce /Lib/distutils/tests/test_register.py | |
parent | 2bcde144ae79c72de05196f7da4ed32396e398d6 (diff) | |
download | cpython-2703fd9134e46146df51b1af383632d5769faebd.zip cpython-2703fd9134e46146df51b1af383632d5769faebd.tar.gz cpython-2703fd9134e46146df51b1af383632d5769faebd.tar.bz2 |
Merged revisions 73008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73008 | tarek.ziade | 2009-05-29 17:08:07 +0900 | 1 line
Fixed #6131: test_modulefinder leaked when run after test_distutils
........
Diffstat (limited to 'Lib/distutils/tests/test_register.py')
-rw-r--r-- | Lib/distutils/tests/test_register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_register.py b/Lib/distutils/tests/test_register.py index f486cf7..d9ff3ec 100644 --- a/Lib/distutils/tests/test_register.py +++ b/Lib/distutils/tests/test_register.py @@ -66,7 +66,7 @@ class FakeOpener(object): class RegisterTestCase(PyPIRCCommandTestCase): def setUp(self): - PyPIRCCommandTestCase.setUp(self) + super(RegisterTestCase, self).setUp() # patching the password prompt self._old_getpass = getpass.getpass def _getpass(prompt): @@ -78,7 +78,7 @@ class RegisterTestCase(PyPIRCCommandTestCase): def tearDown(self): getpass.getpass = self._old_getpass urllib.request.build_opener = self.old_opener - PyPIRCCommandTestCase.tearDown(self) + super(RegisterTestCase, self).tearDown() def _get_cmd(self, metadata=None): if metadata is None: |