[Python-checkins] r66672 - python/branches/fix-test-ftplib/Lib/test/test_ftplib.py

benjamin.peterson python-checkins at python.org
Sun Sep 28 22:23:19 CEST 2008


Author: benjamin.peterson
Date: Sun Sep 28 22:23:18 2008
New Revision: 66672

Log:
try out this possible fix

Modified:
   python/branches/fix-test-ftplib/Lib/test/test_ftplib.py

Modified: python/branches/fix-test-ftplib/Lib/test/test_ftplib.py
==============================================================================
--- python/branches/fix-test-ftplib/Lib/test/test_ftplib.py	(original)
+++ python/branches/fix-test-ftplib/Lib/test/test_ftplib.py	Sun Sep 28 22:23:18 2008
@@ -212,6 +212,11 @@
     def handle_accept(self):
         conn, addr = self.accept()
         self.handler = self.handler(conn)
+        self.close()
+
+    def handle_connect(self):
+        self.close()
+    handle_read = handle_connect
 
     def writable(self):
         return 0


More information about the Python-checkins mailing list