(self)
| 156 | print_stderr(str(res)) |
| 157 | |
| 158 | def test_app_error(self): |
| 159 | res = self.app.get('/') |
| 160 | res.charset = 'utf-8' |
| 161 | res.text = '°C' |
| 162 | AppError('%s %s %s %s', res.status, '', res.request.url, res) |
| 163 | res.charset = None |
| 164 | AppError('%s %s %s %s', res.status, '', res.request.url, res) |
| 165 | |
| 166 | def test_exception_repr(self): |
| 167 | res = self.app.get('/') |