Blame SOURCES/await.patch

rdobuilder aa9e2f
diff -ru txaio-2.10.0/test/test_gather.py txaio-2.10.0_patched/test/test_gather.py
rdobuilder aa9e2f
--- txaio-2.10.0/test/test_gather.py	2018-03-02 08:04:45.000000000 +0100
rdobuilder aa9e2f
+++ txaio-2.10.0_patched/test/test_gather.py	2018-08-01 13:03:40.237465405 +0200
rdobuilder aa9e2f
@@ -26,7 +26,7 @@
rdobuilder aa9e2f
 
rdobuilder aa9e2f
 import txaio
rdobuilder aa9e2f
 
rdobuilder aa9e2f
-from util import await
rdobuilder aa9e2f
+from util import await_completion
rdobuilder aa9e2f
 
rdobuilder aa9e2f
 
rdobuilder aa9e2f
 def test_gather_two(framework):
rdobuilder aa9e2f
@@ -61,7 +61,7 @@
rdobuilder aa9e2f
     txaio.add_callbacks(f2, done, error)
rdobuilder aa9e2f
 
rdobuilder aa9e2f
     for f in [f0, f1, f2]:
rdobuilder aa9e2f
-        await(f)
rdobuilder aa9e2f
+        await_completion(f)
rdobuilder aa9e2f
 
rdobuilder aa9e2f
     assert len(results) == 1
rdobuilder aa9e2f
     assert len(errors) == 0
rdobuilder aa9e2f
@@ -99,7 +99,7 @@
rdobuilder aa9e2f
     # out of "run_until_complete()" as well; fix util.py?
rdobuilder aa9e2f
     for f in [f0, f1, f2]:
rdobuilder aa9e2f
         try:
rdobuilder aa9e2f
-            await(f)
rdobuilder aa9e2f
+            await_completion(f)
rdobuilder aa9e2f
         except Exception:
rdobuilder aa9e2f
             pass
rdobuilder aa9e2f
 
rdobuilder aa9e2f
Only in txaio-2.10.0_patched/test: .test_gather.py.swp
rdobuilder aa9e2f
diff -ru txaio-2.10.0/test/util.py txaio-2.10.0_patched/test/util.py
rdobuilder aa9e2f
--- txaio-2.10.0/test/util.py	2017-04-15 16:17:17.000000000 +0200
rdobuilder aa9e2f
+++ txaio-2.10.0_patched/test/util.py	2018-08-01 13:02:30.099152902 +0200
rdobuilder aa9e2f
@@ -57,7 +57,7 @@
rdobuilder aa9e2f
         asyncio.gather(*asyncio.Task.all_tasks())
rdobuilder aa9e2f
 
rdobuilder aa9e2f
 
rdobuilder aa9e2f
-def await(future):
rdobuilder aa9e2f
+def await_completion(future):
rdobuilder aa9e2f
     '''
rdobuilder aa9e2f
     Essentially just a way to call "run_until_complete" that becomes a
rdobuilder aa9e2f
     no-op if we're using Twisted.
rdobuilder aa9e2f
Only in txaio-2.10.0_patched/test: .util.py.swp