(self, seq, expected)
| 2971 | @unittest.skipIf(_testinternalcapi is None, 'need _testinternalcapi module') |
| 2972 | class TestInstructionSequence(unittest.TestCase): |
| 2973 | def compare_instructions(self, seq, expected): |
| 2974 | self.assertEqual([(opcode.opname[i[0]],) + i[1:] for i in seq.get_instructions()], |
| 2975 | expected) |
| 2976 | |
| 2977 | def test_basics(self): |
| 2978 | seq = _testinternalcapi.new_instruction_sequence() |
no test coverage detected