Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 516db94

Browse files
author
Tarek Ziadé
committed
Merged revisions 70308 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r70308 | tarek.ziade | 2009-03-11 13:48:04 +0100 (Wed, 11 Mar 2009) | 1 line Issue #5472: Fixed distutils.test_util tear down ........
1 parent c59cd68 commit 516db94

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lib/distutils/tests/test_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def tearDown(self):
5353
os.path.splitdrive = self.splitdrive
5454
if self.uname is not None:
5555
os.uname = self.uname
56+
else:
57+
del os.uname
5658

5759
def _set_uname(self, uname):
5860
self._uname = uname

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ Core and Builtins
195195
Library
196196
-------
197197

198+
- Issue #5472: Fixed distutils.test_util tear down. Original patch by
199+
Tim Golden.
200+
198201
- collections.deque() objects now have a read-only attribute called maxlen.
199202

200203
- Issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after

0 commit comments

Comments
 (0)