I would suggest using parametrize: @pytest.mark.parametrize("param", [param1, param2...]) def test_function_that_throws_exception(param):.
確定! 回上一頁