diff --git a/pytest-shutil/pytest_shutil/workspace.py b/pytest-shutil/pytest_shutil/workspace.py index 3ca5e2c..14157be 100644 --- a/pytest-shutil/pytest_shutil/workspace.py +++ b/pytest-shutil/pytest_shutil/workspace.py @@ -14,7 +14,7 @@ log = logging.getLogger(__name__) -@pytest.yield_fixture() +@pytest.fixture def workspace(): """ Function-scoped temporary workspace that cleans up on exit.