temporaryDirectory¶
- lsst.utils.tests.temporaryDirectory() Iterator[str] ¶
Context manager that creates and destroys a temporary directory.
The difference from
tempfile.TemporaryDirectory
is that this ignores errors when deleting a directory, which may happen with some filesystems.- Yields:
str
Name of the temporary directory.