commit | e4499a88c2551400b94bda3ada0037a824c45402 | [log] [tgz] |
---|---|---|
author | Giampaolo RodolĂ <g.rodola@gmail.com> | Thu May 06 20:19:32 2010 +0000 |
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | Thu May 06 20:19:32 2010 +0000 |
tree | 309b0f48a50aad612bac0e09ab367b5c198f0bb5 | |
parent | 215b6b392d8530dee3e33caf12249dadfe71c07f [diff] [blame] |
adds handle_error(self):raise to test modules using asyncore to provide a clearer error message in case something goes wrong
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index 3a2ec5e..7a0945f 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py
@@ -48,6 +48,9 @@ self.close() self.dtp_conn_closed = True + def handle_error(self): + raise + class DummyFTPHandler(asynchat.async_chat):