def test_compiles_to_extended_op_arg(self):
    snippet = ('x = x\n' * 10000)
    snippet += 'while x != 0:\n  x -= 1\nwhile x != 0:\n  x +=  1\n'
    (compiled_code, _) = self.check_positions_against_ast(snippet)
    self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', line=(10000 + 2), end_line=(10000 + 2), column=2, end_column=8, occurrence=1)
    self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', line=(10000 + 4), end_line=(10000 + 4), column=2, end_column=9, occurrence=2)
def test_compiles_to_extended_op_arg(self):
    snippet = ('x = x\n' * 10000)
    snippet += 'while x != 0:\n  x -= 1\nwhile x != 0:\n  x +=  1\n'
    (compiled_code, _) = self.check_positions_against_ast(snippet)
    self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', line=(10000 + 2), end_line=(10000 + 2), column=2, end_column=8, occurrence=1)
    self.assertOpcodeSourcePositionIs(compiled_code, 'BINARY_OP', line=(10000 + 4), end_line=(10000 + 4), column=2, end_column=9, occurrence=2)