Commit 32bc9439 authored by Tarek Ziadé's avatar Tarek Ziadé

fixed finally state in distutils.test_util

parent 9e0e2af9
......@@ -355,7 +355,7 @@ class UtilTestCase(support.EnvironGuard, unittest.TestCase):
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment