biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / zulip-term / pytest-executable-name.patch
bloba816993b8c4b5ec49eefb7000f483793fb40bad8
1 diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py
2 index 1452cfd..0a21c09 100644
3 --- a/tests/cli/test_run.py
4 +++ b/tests/cli/test_run.py
5 @@ -240,7 +240,7 @@ def test_main_multiple_autohide_options(
7 captured = capsys.readouterr()
8 lines = captured.err.strip("\n")
9 - lines = lines.split("pytest: ", 1)[1]
10 + lines = lines.split("__main__.py: ", 1)[1]
11 expected = f"error: argument {options[1]}: not allowed with argument {options[0]}"
12 assert lines == expected
14 @@ -277,7 +277,7 @@ def test_main_multiple_notify_options(
16 captured = capsys.readouterr()
17 lines = captured.err.strip("\n")
18 - lines = lines.split("pytest: ", 1)[1]
19 + lines = lines.split("__main__.py: ", 1)[1]
20 expected = f"error: argument {options[1]}: not allowed with argument {options[0]}"
21 assert lines == expected