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