You can simply remove the indirect parameter: import pytest @pytest.mark.parametrize('params', [ ('a', '1a\n'), ('b', '1b\n'), ]) def test_output(capsys, ...
確定! 回上一頁