summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 23:26:59 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 23:26:59 (GMT)
commit873c3864bab0c457f22d1a2de15df1c6e7c041b5 (patch)
tree2375d3e0e302549249c581c96038cde1ba2994e3 /Lib/test/test_asyncore.py
parentb65b4c3a4719f3c310a29e4369cfe69f4396d9d4 (diff)
downloadcpython-873c3864bab0c457f22d1a2de15df1c6e7c041b5.zip
cpython-873c3864bab0c457f22d1a2de15df1c6e7c041b5.tar.gz
cpython-873c3864bab0c457f22d1a2de15df1c6e7c041b5.tar.bz2
Fixed test for asyncore.
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 36096ef..facc83e 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):