diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-10 00:45:44 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-10 00:45:44 +0100 |
commit | a64c66717480d17d7eeff083e0660240c834a4cc (patch) | |
tree | e2660a1da38f361719aa07985db13b495a3041c5 /Lib/asyncio/test_utils.py | |
parent | f4e3731dd336a334777a65e09db1b835e0c5717e (diff) | |
download | cpython-a64c66717480d17d7eeff083e0660240c834a4cc.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.py | 4 |
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 |