Encode `s` and pass to the wrapped object's `.write()` method.
(self, s)
| 171 | self.wrapper_setattr('encoding', encoding) |
| 172 | |
| 173 | def write(self, s): |
| 174 | """ |
| 175 | Encode `s` and pass to the wrapped object's `.write()` method. |
| 176 | """ |
| 177 | return self._wrapped.write(s.encode(self.wrapper_getattr('encoding'))) |
| 178 | |
| 179 | def __eq__(self, other): |
| 180 | return self._wrapped == getattr(other, '_wrapped', other) |
nothing calls this directly
no test coverage detected