def METHOD_NAME(self):
    """Test unexpected argument error."""
    expr = "P1+P2"
    parsed_expr = parse_string_expr(expr, partial_binding=True)
    with self.assertRaises(PulseError):
        parsed_expr(1, 2, P3=3)