mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
14 lines
574 B
Diff
14 lines
574 B
Diff
diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py
|
|
index 459aa82..c6e434e 100644
|
|
--- a/tests/cli/test_run.py
|
|
+++ b/tests/cli/test_run.py
|
|
@@ -180,7 +180,7 @@ def test_main_multiple_autohide_options(capsys, options):
|
|
assert str(e.value) == "2"
|
|
captured = capsys.readouterr()
|
|
lines = captured.err.strip('\n')
|
|
- lines = lines.split("pytest: ", 1)[1]
|
|
+ lines = lines.split("__main__.py: ", 1)[1]
|
|
expected = ("error: argument {}: not allowed "
|
|
"with argument {}".format(options[1], options[0]))
|
|
assert lines == expected
|