You could just declare a pytest.fixture with autouse=true and ... all the code after the yield statement serves as the teardown code:".
確定! 回上一頁