mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
excise the remains of STOP_CODE, which hasn't done anything useful for years
This commit is contained in:
parent
42d1320c06
commit
76f7f4d979
6 changed files with 1 additions and 13 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue