[Python-checkins] r75670 - python/trunk/Lib/distutils/tests/test_util.py

tarek.ziade python-checkins at python.org
Sat Oct 24 17:19:04 CEST 2009


Author: tarek.ziade
Date: Sat Oct 24 17:19:03 2009
New Revision: 75670

Log:
fixed finally state in distutils.test_util

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

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	Sat Oct 24 17:19:03 2009
@@ -355,7 +355,7 @@
         try:
             self.assertRaises(DistutilsByteCompileError, byte_compile, [])
         finally:
-            sys.dont_write_bytecode = False
+            sys.dont_write_bytecode = old_dont_write_bytecode
 
 def test_suite():
     return unittest.makeSuite(UtilTestCase)


More information about the Python-checkins mailing list