Files
nixpkgs/pkgs/by-name/zu/zulip-term/pytest-executable-name.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

23 lines
839 B
Diff

diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py
index 1452cfd..0a21c09 100644
--- a/tests/cli/test_run.py
+++ b/tests/cli/test_run.py
@@ -240,7 +240,7 @@ def test_main_multiple_autohide_options(
captured = capsys.readouterr()
lines = captured.err.strip("\n")
- lines = lines.split("pytest: ", 1)[1]
+ lines = lines.split("__main__.py: ", 1)[1]
expected = f"error: argument {options[1]}: not allowed with argument {options[0]}"
assert lines == expected
@@ -277,7 +277,7 @@ def test_main_multiple_notify_options(
captured = capsys.readouterr()
lines = captured.err.strip("\n")
- lines = lines.split("pytest: ", 1)[1]
+ lines = lines.split("__main__.py: ", 1)[1]
expected = f"error: argument {options[1]}: not allowed with argument {options[0]}"
assert lines == expected