[Python-checkins] r64885 - python/trunk/Lib/test/test_asyncore.py

josiah.carlson python-checkins at python.org
Sat Jul 12 01:26:59 CEST 2008


Author: josiah.carlson
Date: Sat Jul 12 01:26:59 2008
New Revision: 64885

Log:
Fixed test for asyncore.


Modified:
   python/trunk/Lib/test/test_asyncore.py

Modified: python/trunk/Lib/test/test_asyncore.py
==============================================================================
--- python/trunk/Lib/test/test_asyncore.py	(original)
+++ python/trunk/Lib/test/test_asyncore.py	Sat Jul 12 01:26:59 2008
@@ -38,7 +38,7 @@
         raise asyncore.ExitNow()
 
     handle_write_event = handle_read_event
-    handle_close_event = handle_read_event
+    handle_close = handle_read_event
     handle_expt_event = handle_read_event
 
 class crashingdummy:
@@ -49,7 +49,7 @@
         raise Exception()
 
     handle_write_event = handle_read_event
-    handle_close_event = handle_read_event
+    handle_close = handle_read_event
     handle_expt_event = handle_read_event
 
     def handle_error(self):
@@ -128,7 +128,7 @@
                 def handle_write_event(self):
                     self.write = True
 
-                def handle_close_event(self):
+                def handle_close(self):
                     self.closed = True
 
                 def handle_expt_event(self):


More information about the Python-checkins mailing list