diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-11-13 22:03:20 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-11-13 22:03:20 (GMT) |
commit | 79b5b5b7fb914e49965f0b5369070826ecc4605a (patch) | |
tree | 0986dc201660b9aa42e479fad3425959de7dfd92 | |
parent | 88768483235beb5de12addee3d73d4e252f6f7cb (diff) | |
download | cpython-79b5b5b7fb914e49965f0b5369070826ecc4605a.zip cpython-79b5b5b7fb914e49965f0b5369070826ecc4605a.tar.gz cpython-79b5b5b7fb914e49965f0b5369070826ecc4605a.tar.bz2 |
Don't munge __debug__ and leave it that way.
-rw-r--r-- | Lib/test/test_compile.py | 2 |
1 files changed, 2 insertions, 0 deletions
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' |