(self)
| 479 | self.send_error(HTTPStatus.NOT_FOUND, 'File not found') |
| 480 | |
| 481 | def test_get(self): |
| 482 | self.con = http.client.HTTPConnection(self.HOST, self.PORT) |
| 483 | self.con.connect() |
| 484 | |
| 485 | with support.captured_stderr() as err: |
| 486 | self.con.request('GET', '/') |
| 487 | self.con.getresponse() |
| 488 | |
| 489 | self.assertEndsWith(err.getvalue(), '"GET / HTTP/1.1" 200 -\n') |
| 490 | |
| 491 | def test_err(self): |
| 492 | self.con = http.client.HTTPConnection(self.HOST, self.PORT) |
nothing calls this directly
no test coverage detected