Skip to content

Commit 657f053

Browse files
committed
Minor fix in tests
1 parent 76f7c6e commit 657f053

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pygmt/tests/test_alias_system.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ def test_alias_system_multiple_aliases_short_form():
7070
are used.
7171
"""
7272
# Long-form exists but is not given, and short-form is given.
73-
msg = (
74-
r"Short-form parameter 'U' is not recommended. Use long-form parameters 'label', with optional parameters 'text' \(\+t\) instead.",
75-
)
73+
msg = r"Short-form parameter 'U' is not recommended. Use long-form parameters 'label', with optional parameters 'text' \(\+t\) instead."
7674
with pytest.warns(SyntaxWarning, match=msg):
7775
assert func(U="abcd+tefg") == ["-Uabcd+tefg"]
7876

0 commit comments

Comments
 (0)