[Python-checkins] r70308 - in python/trunk: Lib/distutils/tests/test_util.py Misc/NEWS

tarek.ziade python-checkins at python.org
Wed Mar 11 13:48:05 CET 2009


Author: tarek.ziade
Date: Wed Mar 11 13:48:04 2009
New Revision: 70308

Log:
Issue #5472: Fixed distutils.test_util tear down

Modified:
   python/trunk/Lib/distutils/tests/test_util.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/distutils/tests/test_util.py
==============================================================================
--- python/trunk/Lib/distutils/tests/test_util.py	(original)
+++ python/trunk/Lib/distutils/tests/test_util.py	Wed Mar 11 13:48:04 2009
@@ -53,6 +53,8 @@
         os.path.splitdrive = self.splitdrive
         if self.uname is not None:
             os.uname = self.uname
+        else:
+            del os.uname
 
     def _set_uname(self, uname):
         self._uname = uname

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Wed Mar 11 13:48:04 2009
@@ -171,6 +171,9 @@
 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.
 
 - Issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after


More information about the Python-checkins mailing list