def METHOD_NAME():
    prev_lines = """a = a_long_instruction(
    over_two_lines=True)""".splitlines()
    next_lines = """def f(x):
    return x""".splitlines()
    assert cell_ends_with_code(prev_lines)
    assert next_instruction_is_function_or_class(next_lines)
    assert pep8_lines_between_cells(prev_lines, next_lines, ".py") == 2