diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-03-15 20:18:47 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-03-15 20:18:47 (GMT) |
commit | c217a4b71a847326ce4e6e47f1d52fe45ad005fb (patch) | |
tree | 0c47d00d8677d1c4e75a740b85d0985e4f2b8caa | |
parent | 0de5fc51ff66838b5133bf4656af6a3023232b1c (diff) | |
download | cpython-c217a4b71a847326ce4e6e47f1d52fe45ad005fb.zip cpython-c217a4b71a847326ce4e6e47f1d52fe45ad005fb.tar.gz cpython-c217a4b71a847326ce4e6e47f1d52fe45ad005fb.tar.bz2 |
should use 'is' here
-rw-r--r-- | Lib/test/test_dis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py index c3b2a4f..7cda0dc 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -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 |