(self)
| 1987 | "TemporaryDirectory %s exists after __del__" % name) |
| 1988 | |
| 1989 | def test_multiple_close(self): |
| 1990 | # Can be cleaned-up many times without error |
| 1991 | d = self.do_create() |
| 1992 | d.cleanup() |
| 1993 | d.cleanup() |
| 1994 | d.cleanup() |
| 1995 | |
| 1996 | def test_context_manager(self): |
| 1997 | # Can be used as a context manager |