@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
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)
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)
self.assertTrue(transport.resume_reading.called)
def test_stdin_not_inheritable(self):
- # Tulip issue #209: stdin must not be inheritable, otherwise
+ # asyncio issue #209: stdin must not be inheritable, otherwise
# the Process.communicate() hangs
@asyncio.coroutine
def len_message(message):
self.assertTrue(fut.result())
self.assertTrue(0 <= elapsed < 0.3, elapsed)
- # Tulip issue #195: cancelling a done _WaitHandleFuture must not crash
+ # asyncio issue #195: cancelling a done _WaitHandleFuture
+ # must not crash
fut.cancel()
def test_wait_for_handle_cancel(self):
elapsed = self.loop.time() - start
self.assertTrue(0 <= elapsed < 0.1, elapsed)
- # Tulip issue #195: cancelling a _WaitHandleFuture twice must not crash
+ # asyncio issue #195: cancelling a _WaitHandleFuture twice
+ # must not crash
fut = self.loop._proactor.wait_for_handle(event)
fut.cancel()
fut.cancel()