summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_compile.py2
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'