(self)
| 291 | self.addCleanup(self.con.close) |
| 292 | |
| 293 | def test_internal_key_error(self): |
| 294 | self.con.request('KEYERROR', '/') |
| 295 | res = self.con.getresponse() |
| 296 | self.assertEqual(res.status, 999) |
| 297 | |
| 298 | def test_return_custom_status(self): |
| 299 | self.con.request('CUSTOM', '/') |
nothing calls this directly
no test coverage detected