(self)
| 6432 | rh.close() |
| 6433 | |
| 6434 | def test_file_created(self): |
| 6435 | # checks that the file is created and assumes it was created |
| 6436 | # by us |
| 6437 | os.unlink(self.fn) |
| 6438 | rh = logging.handlers.RotatingFileHandler(self.fn, encoding="utf-8") |
| 6439 | rh.emit(self.next_rec()) |
| 6440 | self.assertLogFile(self.fn) |
| 6441 | rh.close() |
| 6442 | |
| 6443 | def test_max_bytes(self, delay=False): |
| 6444 | kwargs = {'delay': delay} if delay else {} |
nothing calls this directly
no test coverage detected