We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd5b56 commit 568ce9cCopy full SHA for 568ce9c
testing/test_remote.py
@@ -286,4 +286,10 @@ def test(get_config_parser, request):
286
287
result = testdir.runpytest_subprocess("-n1")
288
assert result.ret == 1
289
- result.stdout.fnmatch_lines(["*usage: *", "*error: my_usage_error"])
+ result.stdout.re_match_lines(
290
+ [
291
+ "^> raise UsageError",
292
+ "^E .*UsageError: usage: (pytest.py|__main__.py)",
293
+ "^E (pytest.py|__main__.py): error: my_usage_error",
294
+ ]
295
+ )
0 commit comments