I found that another fixture could be used to wrap the test function: @pytest.fixture def a(): return A() @pytest.fixture(scope='function') ...
確定! 回上一頁