(self, suffix)
| 48 | |
| 49 | class TempFileMixin: |
| 50 | def tmp(self, suffix): |
| 51 | fd, path = tempfile.mkstemp(suffix=suffix) |
| 52 | os.close(fd) |
| 53 | self.addCleanup(os.remove, path) |
| 54 | return path |
| 55 | |
| 56 | |
| 57 | class TestJsonEmptyFolders(TempFileMixin, TestCase): |
no test coverage detected