def assertOpcodeSourcePositionIs(self, code, opcode, line, end_line, column, end_column, occurrence=1):
    for (instr, position) in zip(dis.Bytecode(code, show_caches=True), code.co_positions(), strict=True):
        if (instr.opname == opcode):
            occurrence -= 1
            if (not occurrence):
                self.assertEqual(position[0], line)
                self.assertEqual(position[1], end_line)
                self.assertEqual(position[2], column)
                self.assertEqual(position[3], end_column)
                return
    self.fail(f'Opcode {opcode} not found in code')
def assertOpcodeSourcePositionIs(self, code, opcode, line, end_line, column, end_column, occurrence=1):
    for (instr, position) in zip(dis.Bytecode(code, show_caches=True), code.co_positions(), strict=True):
        if (instr.opname == opcode):
            occurrence -= 1
            if (not occurrence):
                self.assertEqual(position[0], line)
                self.assertEqual(position[1], end_line)
                self.assertEqual(position[2], column)
                self.assertEqual(position[3], end_column)
                return
    self.fail(f'Opcode {opcode} not found in code')