summaryrefslogtreecommitdiff
path: root/Lib/asyncio/test_utils.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-10 00:45:44 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-10 00:45:44 +0100
commitdc62b7e261ab88b4ab967ac2ae307eddbfa0ae09 (patch)
tree0c8878ba52ef21fb7058545b9ca62d1838cf9ccd /Lib/asyncio/test_utils.py
parent136fea253e438a0db6a1d24d3c23f02fcb64b7c4 (diff)
downloadcpython-git-dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09.tar.gz
asyncio: Tulip issue 112: Inline make_handle() into Handle constructor
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r--Lib/asyncio/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
index ccb445418d..71d69cfacc 100644
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -216,7 +216,7 @@ class TestLoop(base_events.BaseEventLoop):
raise AssertionError("Time generator is not finished")
def add_reader(self, fd, callback, *args):
- self.readers[fd] = events.make_handle(callback, args)
+ self.readers[fd] = events.Handle(callback, args)
def remove_reader(self, fd):
self.remove_reader_count[fd] += 1
@@ -235,7 +235,7 @@ class TestLoop(base_events.BaseEventLoop):
handle._args, args)
def add_writer(self, fd, callback, *args):
- self.writers[fd] = events.make_handle(callback, args)
+ self.writers[fd] = events.Handle(callback, args)
def remove_writer(self, fd):
self.remove_writer_count[fd] += 1