(self)
| 423 | gc.collect() |
| 424 | |
| 425 | def test_no_content_length(self): |
| 426 | req = ClientRequest('get', 'http://python.org', loop=self.loop) |
| 427 | resp = req.send(self.transport, self.protocol) |
| 428 | self.assertEqual('0', req.headers.get('CONTENT-LENGTH')) |
| 429 | self.loop.run_until_complete(req.close()) |
| 430 | resp.close() |
| 431 | |
| 432 | def test_no_content_length2(self): |
| 433 | req = ClientRequest('head', 'http://python.org', loop=self.loop) |
nothing calls this directly
no test coverage detected