-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix mock of tempfile.TemporaryDirectory
Since we use this as a context manager we need to go "deeper" to set the return value on the correct attribute. The previous version fails on Python 3.13 as Path objects can no longer be used as context managers.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters