Instead of your setup function, create a parametrized test fixture: ts = range(2000, 20001, 1000) # This creates a ... parametrizing test classes in pytest.
確定! 回上一頁