| 221 | assert_(0, "input.close() must not be called") |
| 222 | |
| 223 | class ErrorWrapper: |
| 224 | |
| 225 | def __init__(self, wsgi_errors): |
| 226 | self.errors = wsgi_errors |
| 227 | |
| 228 | def write(self, s): |
| 229 | assert_(type(s) is str) |
| 230 | self.errors.write(s) |
| 231 | |
| 232 | def flush(self): |
| 233 | self.errors.flush() |
| 234 | |
| 235 | def writelines(self, seq): |
| 236 | for line in seq: |
| 237 | self.write(line) |
| 238 | |
| 239 | def close(self): |
| 240 | assert_(0, "errors.close() must not be called") |
| 241 | |
| 242 | class WriteWrapper: |
| 243 |
no outgoing calls
no test coverage detected
searching dependent graphs…