Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425

This commit is contained in:
grossmj committed 2018-10-15 17:05:49 +07:00
1 parent 8baa480b79
commit 76af98404a
119 files changed
+2432 -3084

No files matched your search

+1 -2
View File
@@ -211,8 +211,7 @@ def test_create_image_missing(node, compute, project, async_run):
node.__calls = 0
@asyncio.coroutine
def resp(*args, **kwargs):
async def resp(*args, **kwargs):
node.__calls += 1
response = MagicMock()
if node.__calls == 1: