trollius: fix tests
This commit is contained in:
committed by
Franz Pletz
parent
28a9f74769
commit
3a33ed7c46
13
pkgs/development/python-modules/trollius/tests.patch
Normal file
13
pkgs/development/python-modules/trollius/tests.patch
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user