summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-18 03:49:50 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-18 03:49:50 (GMT)
commit76f7f4d979fcec9cff5175044f1c05123f0d7def (patch)
treee10ea5e2900a83baa68af193f1df7c86b25cde72 /Lib/test/test_dis.py
parent42d1320c06eec275de5a080a5285f9cd7c08d15d (diff)
downloadcpython-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.py2
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)