Skip to content

Commit c9def2b

Browse files
committed
Fix test_handle_read_args_all_configs_posix
1 parent 2a2e0f7 commit c9def2b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/args_handling_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,9 +539,8 @@ def test_handle_read_args_all_configs_posix(
539539
configs_location=test_configs_file,
540540
get_configs=None,
541541
)
542-
543-
with pytest.raises(SystemExit):
544-
handle_read_args(args)
542+
exit_code: int = handle_read_args(args)
543+
assert exit_code == 0
545544

546545
assert capsys.readouterr().out == ".txt: /path/to/txt\n.pdf: /path/to/pdf\n"
547546

0 commit comments

Comments
 (0)