We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0e463 commit 69c47ceCopy full SHA for 69c47ce
src/_pytest/tmpdir.py
@@ -265,7 +265,6 @@ def tmp_path(
265
yield path
266
267
# Remove the tmpdir if the policy is "failed" and the test passed.
268
- tmp_path_factory: TempPathFactory = request.session.config._tmp_path_factory # type: ignore
269
policy = tmp_path_factory._retention_policy
270
result_dict = request.node.stash[tmppath_result_key]
271
0 commit comments