From 79b5b5b7fb914e49965f0b5369070826ecc4605a Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 13 Nov 2001 22:03:20 +0000 Subject: Don't munge __debug__ and leave it that way. --- Lib/test/test_compile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index e976a30..3801cac 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -9,7 +9,9 @@ except SyntaxError: pass import __builtin__ +prev = __builtin__.__debug__ setattr(__builtin__, '__debug__', 'sure') +setattr(__builtin__, '__debug__', prev) if verbose: print 'Running tests on argument handling' -- cgit v0.12