Commit c217a4b7 authored by Benjamin Peterson's avatar Benjamin Peterson

should use 'is' here

parent 0de5fc51
......@@ -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