Skip to content

Commit 93780dc

Browse files
committed
Simpler usage error in test_remote_usage_prog
1 parent ca58e5e commit 93780dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,5 +458,5 @@ def test(get_config_parser, request):
458458
result = testdir.runpytest_subprocess("-n1")
459459
assert result.ret == 1
460460
result.stdout.fnmatch_lines(
461-
["*usage: pytest.py *", "pytest.py: error: my_usage_error"]
461+
["*usage: *", "*error: my_usage_error"]
462462
)

0 commit comments

Comments
 (0)