Skip to content

Commit 38b7cd6

Browse files
committed
Fix a failing gmtinfo test
In GMT 6.1, the error message of gmtinfo changes from ``` gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla) ``` to ``` gmtinfo [ERROR]: No such file (bogus-data.bla) provided for input file ```
1 parent 43898a9 commit 38b7cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/tests/test_clib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_call_module_error_message():
161161
msg = "\n".join(
162162
[
163163
"Module 'info' failed with status code 71:",
164-
"gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla)",
164+
"gmtinfo [ERROR]: No such file (bogus-data.bla) provided for input file",
165165
]
166166
)
167167
assert str(error) == msg

0 commit comments

Comments
 (0)