summaryrefslogtreecommitdiff
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r--Lib/test/test_ftplib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 3a2ec5e84b..7a0945f859 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -48,6 +48,9 @@ class DummyDTPHandler(asynchat.async_chat):
self.close()
self.dtp_conn_closed = True
+ def handle_error(self):
+ raise
+
class DummyFTPHandler(asynchat.async_chat):