From: Josiah Carlson Date: Fri, 11 Jul 2008 23:26:59 +0000 (+0000) Subject: Fixed test for asyncore. X-Git-Tag: v2.6b2~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=873c3864bab0c457f22d1a2de15df1c6e7c041b5;p=python Fixed test for asyncore. --- diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 36096ef687..facc83ef04 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -38,7 +38,7 @@ class exitingdummy: 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 @@ class crashingdummy: 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 @@ class HelperFunctionTests(unittest.TestCase): 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):