summary refs log tree commit diff
path: root/pkgs/development/python-modules/trollius/tests.patch
blob: 4923bded94937d2d6c238ea9fc6bd4e3fc218551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git i/tests/test_asyncio.py w/tests/test_asyncio.py
index 39d9e1a..05b7e6f 100644
--- i/tests/test_asyncio.py
+++ w/tests/test_asyncio.py
@@ -69,7 +69,7 @@ class AsyncioTests(test_utils.TestCase):
             def step_future():
                 future = asyncio.Future()
                 self.loop.call_soon(future.set_result, "asyncio.Future")
-                return (yield from future)
+                return (yield From(future))
 
             # test in release mode
             trollius.coroutines._DEBUG = False