Commit dda35914 authored by Benjamin Peterson's avatar Benjamin Peterson

merge heads

parents d41d7c3e 8d8b7c4f
......@@ -276,7 +276,7 @@ class DisTests(unittest.TestCase):
old = getattr(sys, 'last_traceback', not_defined)
def cleanup():
if old != not_defined:
if old is not not_defined:
sys.last_traceback = old
else:
del sys.last_traceback
......
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