diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 23:26:37 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 23:26:37 (GMT) |
commit | 91823c74ccb6d878121041973cea0dd6c858cd00 (patch) | |
tree | 98a58e9392474e097d58559f3e6fd66dee3b2d7c /Lib/test/test_asyncore.py | |
parent | c31bc9a498a3f5a90a721999a8880790e40634cf (diff) | |
download | cpython-91823c74ccb6d878121041973cea0dd6c858cd00.zip cpython-91823c74ccb6d878121041973cea0dd6c858cd00.tar.gz cpython-91823c74ccb6d878121041973cea0dd6c858cd00.tar.bz2 |
Fixed test for asyncore.
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r-- | Lib/test/test_asyncore.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 335bded..450eee1 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -39,7 +39,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: @@ -50,7 +50,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): @@ -129,7 +129,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): |