(self)
| 828 | |
| 829 | @threading_helper.reap_threads |
| 830 | def test_issue5949(self): |
| 831 | |
| 832 | class EOFHandler(socketserver.StreamRequestHandler): |
| 833 | def handle(self): |
| 834 | # EOF without sending a complete welcome message. |
| 835 | self.wfile.write(b'* OK') |
| 836 | |
| 837 | with self.reaped_server(EOFHandler) as server: |
| 838 | self.assertRaises(imaplib.IMAP4.abort, |
| 839 | self.imap_class, *server.server_address) |
| 840 | |
| 841 | @threading_helper.reap_threads |
| 842 | def test_line_termination(self): |
nothing calls this directly
no test coverage detected