You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Now add an unrecognized keyword and make sure there is an error
withpytest.raises(AttributeError, match="has no property"):
function(*args, **kwargs, unknown=None)
> with pytest.raises(AttributeError, match="has no property"):
E AssertionError: Regex pattern 'has no property' does not match "Line2D.set() got an unexpected keyword argument 'unknown'".
control/tests/kwargs_test.py:145: AssertionError
The text was updated successfully, but these errors were encountered:
First seen in #775:
python-control/control/tests/kwargs_test.py
Lines 144 to 146 in f909c82
The text was updated successfully, but these errors were encountered: