excise the remains of STOP_CODE, which hasn't done anything useful for years

This commit is contained in:
Benjamin Peterson 2011-07-17 22:49:50 -05:00
parent 42d1320c06
commit 76f7f4d979
6 changed files with 1 additions and 13 deletions

View file

@ -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)