def METHOD_NAME():
    """User tries to call a method on an argument of the wrong type."""
    program = f"x = [1, 2, 3]\n" f"x.extend(1)\n"
    module, inferer = cs._parse_text(program)
    call_node = next(module.nodes_of_class(nodes.Call))
    assert isinstance(call_node.inf_type, TypeFail)