(self, filename)
| 66 | os.rmdir(self.tempdir) |
| 67 | |
| 68 | def make_handler(self, filename): |
| 69 | # Base case: default setup without explicit encoding. |
| 70 | # In python 2, supports arbitrary byte strings and unicode objects |
| 71 | # that contain only ascii. In python 3, supports ascii-only unicode |
| 72 | # strings (but byte strings will be repr'd automatically). |
| 73 | return logging.FileHandler(filename) |
| 74 | |
| 75 | def get_output(self): |
| 76 | with open(self.filename, "rb") as f: |