(self, f, opname)
| 28 | |
| 29 | class TestBase(unittest.TestCase): |
| 30 | def assert_specialized(self, f, opname): |
| 31 | instructions = dis.get_instructions(f, adaptive=True) |
| 32 | opnames = {instruction.opname for instruction in instructions} |
| 33 | self.assertIn(opname, opnames) |
| 34 | |
| 35 | def assert_no_opcode(self, f, opname): |
| 36 | instructions = dis.get_instructions(f, adaptive=True) |
no test coverage detected