- Notifications
You must be signed in to change notification settings - Fork441
Closed
Description
First seen in#775:
python-control/control/tests/kwargs_test.py
Lines 144 to 146 inf909c82
# 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
Metadata
Metadata
Assignees
Labels
No labels