Kaydet (Commit) 91823c74 authored tarafından Josiah Carlson's avatar Josiah Carlson

Fixed test for asyncore.

üst c31bc9a4
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment