mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-21 05:35:15 +02:00
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
This commit is contained in:
1 parent
8baa480b79
commit
76af98404a
119 files changed
+2432
-3084
No files matched your search
@@ -205,8 +205,7 @@ def test_connectNotification(compute, async_run):
|
||||
|
||||
call = 0
|
||||
|
||||
@asyncio.coroutine
|
||||
def receive():
|
||||
async def receive():
|
||||
nonlocal call
|
||||
call += 1
|
||||
if call == 1:
|
||||
@@ -238,8 +237,7 @@ def test_connectNotificationPing(compute, async_run):
|
||||
|
||||
call = 0
|
||||
|
||||
@asyncio.coroutine
|
||||
def receive():
|
||||
async def receive():
|
||||
nonlocal call
|
||||
call += 1
|
||||
if call == 1:
|
||||
|
||||
Reference in new issue
Block a user