Skip to content

Commit ddb5b7c

Browse files
committed
update unexpected keyword check for GitHub action variation
1 parent aeb187f commit ddb5b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/tests/freqplot_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def test_suptitle():
547547
ct.suptitle("New title", frame='nowhere')
548548

549549
# Bad keyword
550-
with pytest.raises(AttributeError, match=".* no property 'unknown'"):
550+
with pytest.raises(AttributeError, match="unexpected keyword|no property"):
551551
ct.suptitle("New title", unknown=None)
552552

553553

0 commit comments

Comments
 (0)