mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
Issue #5472: Fixed distutils.test_util tear down
This commit is contained in:
parent
6c4cff0f32
commit
61585c260c
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,8 @@ class utilTestCase(unittest.TestCase):
|
||||||
os.path.splitdrive = self.splitdrive
|
os.path.splitdrive = self.splitdrive
|
||||||
if self.uname is not None:
|
if self.uname is not None:
|
||||||
os.uname = self.uname
|
os.uname = self.uname
|
||||||
|
else:
|
||||||
|
del os.uname
|
||||||
|
|
||||||
def _set_uname(self, uname):
|
def _set_uname(self, uname):
|
||||||
self._uname = uname
|
self._uname = uname
|
||||||
|
|
|
@ -171,6 +171,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #5472: Fixed distutils.test_util tear down. Original patch by
|
||||||
|
Tim Golden.
|
||||||
|
|
||||||
- collections.deque() objects now have a read-only attribute called maxlen.
|
- collections.deque() objects now have a read-only attribute called maxlen.
|
||||||
|
|
||||||
- Issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after
|
- Issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue