diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-07-09 21:13:50 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-07-09 21:13:50 (GMT) |
commit | e6ecea53c8394b5101bb3ddab3216a948065ef97 (patch) | |
tree | 225a711992ec59273d9a1f6d75b8a19c64959137 /Lib/test/test_asyncio/test_streams.py | |
parent | af320b389bba5221870553e70eaefee3bdf860e5 (diff) | |
download | cpython-e6ecea53c8394b5101bb3ddab3216a948065ef97.zip cpython-e6ecea53c8394b5101bb3ddab3216a948065ef97.tar.gz cpython-e6ecea53c8394b5101bb3ddab3216a948065ef97.tar.bz2 |
asyncio: sync with github asyncio
* queues: get coroutine from asyncio.coroutines, not from asyncio.tasks
* tets: replace tulip with asyncio in comments
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r-- | Lib/test/test_asyncio/test_streams.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py index 2273049..242b377 100644 --- a/Lib/test/test_asyncio/test_streams.py +++ b/Lib/test/test_asyncio/test_streams.py @@ -580,7 +580,7 @@ class StreamReaderTests(test_utils.TestCase): @unittest.skipIf(sys.platform == 'win32', "Don't have pipes") def test_read_all_from_pipe_reader(self): - # See Tulip issue 168. This test is derived from the example + # See asyncio issue 168. This test is derived from the example # subprocess_attach_read_pipe.py, but we configure the # StreamReader's limit so that twice it is less than the size # of the data writter. Also we must explicitly attach a child @@ -621,7 +621,7 @@ os.close(fd) self.addCleanup(asyncio.set_event_loop, None) asyncio.set_event_loop(self.loop) - # Tulip issue #184: Ensure that StreamReaderProtocol constructor + # asyncio issue #184: Ensure that StreamReaderProtocol constructor # retrieves the current loop if the loop parameter is not set reader = asyncio.StreamReader() self.assertIs(reader._loop, self.loop) @@ -630,7 +630,7 @@ os.close(fd) self.addCleanup(asyncio.set_event_loop, None) asyncio.set_event_loop(self.loop) - # Tulip issue #184: Ensure that StreamReaderProtocol constructor + # asyncio issue #184: Ensure that StreamReaderProtocol constructor # retrieves the current loop if the loop parameter is not set reader = mock.Mock() protocol = asyncio.StreamReaderProtocol(reader) |