(self, f, opname)
| 33 | self.assertIn(opname, opnames) |
| 34 | |
| 35 | def assert_no_opcode(self, f, opname): |
| 36 | instructions = dis.get_instructions(f, adaptive=True) |
| 37 | opnames = {instruction.opname for instruction in instructions} |
| 38 | self.assertNotIn(opname, opnames) |
| 39 | |
| 40 | |
| 41 | class TestLoadSuperAttrCache(unittest.TestCase): |
no test coverage detected