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 fd7f39aCopy full SHA for fd7f39a
testing/test_remote.py
@@ -286,4 +286,8 @@ 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
+ "^> raise UsageError",
291
+ "^E .*UsageError: usage: (pytest.py|__main__.py)",
292
+ "^E (pytest.py|__main__.py): error: my_usage_error",
293
+ ])
0 commit comments