[Python-3000-checkins] r64884 - python/branches/py3k/Lib/test/test_asyncore.py

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


Author: josiah.carlson
Date: Sat Jul 12 01:26:37 2008
New Revision: 64884

Log:
Fixed test for asyncore.


Modified:
   python/branches/py3k/Lib/test/test_asyncore.py

Modified: python/branches/py3k/Lib/test/test_asyncore.py
==============================================================================
--- python/branches/py3k/Lib/test/test_asyncore.py	(original)
+++ python/branches/py3k/Lib/test/test_asyncore.py	Sat Jul 12 01:26:37 2008
@@ -39,7 +39,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:
@@ -50,7 +50,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):
@@ -129,7 +129,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-3000-checkins mailing list