diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-18 03:49:50 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-18 03:49:50 (GMT) |
commit | 76f7f4d979fcec9cff5175044f1c05123f0d7def (patch) | |
tree | e10ea5e2900a83baa68af193f1df7c86b25cde72 /Lib/test/test_dis.py | |
parent | 42d1320c06eec275de5a080a5285f9cd7c08d15d (diff) | |
download | cpython-76f7f4d979fcec9cff5175044f1c05123f0d7def.zip cpython-76f7f4d979fcec9cff5175044f1c05123f0d7def.tar.gz cpython-76f7f4d979fcec9cff5175044f1c05123f0d7def.tar.bz2 |
excise the remains of STOP_CODE, which hasn't done anything useful for years
Diffstat (limited to 'Lib/test/test_dis.py')
-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 643e2e6..4b0b02a 100644 --- a/Lib/test/test_dis.py +++ b/Lib/test/test_dis.py @@ -200,7 +200,7 @@ class DisTests(unittest.TestCase): lines))) def test_opmap(self): - self.assertEqual(dis.opmap["STOP_CODE"], 0) + self.assertEqual(dis.opmap["NOP"], 9) self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst) self.assertIn(dis.opmap["STORE_NAME"], dis.hasname) |