depot/third_party/nixpkgs/pkgs/development/python-modules/trollius/tests.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
528 B
Diff

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