aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_windows_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-07-09 23:13:50 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-07-09 23:13:50 +0200
commite6ecea53c8394b5101bb3ddab3216a948065ef97 (patch)
tree225a711992ec59273d9a1f6d75b8a19c64959137 /Lib/test/test_asyncio/test_windows_events.py
parentaf320b389bba5221870553e70eaefee3bdf860e5 (diff)
downloadcpython-e6ecea53c8394b5101bb3ddab3216a948065ef97.tar.gz
cpython-e6ecea53c8394b5101bb3ddab3216a948065ef97.zip
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_windows_events.py')
-rw-r--r--Lib/test/test_asyncio/test_windows_events.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py
index 657a4274347..7fcf4023eec 100644
--- a/Lib/test/test_asyncio/test_windows_events.py
+++ b/Lib/test/test_asyncio/test_windows_events.py
@@ -132,7 +132,8 @@ class ProactorTests(test_utils.TestCase):
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):
@@ -149,7 +150,8 @@ class ProactorTests(test_utils.TestCase):
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()