mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Don't munge __debug__ and leave it that way.
This commit is contained in:
parent
8876848323
commit
79b5b5b7fb
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue