(self)
| 141 | # hack anyway this seems good enough. |
| 142 | |
| 143 | def _new_buffer(self): |
| 144 | # BytesGenerator overrides this to return BytesIO. |
| 145 | return StringIO() |
| 146 | |
| 147 | def _encode(self, s): |
| 148 | # BytesGenerator overrides this to encode strings to bytes. |
no test coverage detected