(self)
| 1969 | "TemporaryDirectory %s exists after __del__" % name) |
| 1970 | |
| 1971 | def test_multiple_close(self): |
| 1972 | # Can be cleaned-up many times without error |
| 1973 | d = self.do_create() |
| 1974 | d.cleanup() |
| 1975 | d.cleanup() |
| 1976 | d.cleanup() |
| 1977 | |
| 1978 | def test_context_manager(self): |
| 1979 | # Can be used as a context manager |