Skip to content

Commit eef8e0b

Browse files
committed
Fix pre-3.5 tests.
1 parent b9d94da commit eef8e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/markers/test_class_marker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def inc():
1717
nonlocal counter
1818
counter += 1
1919
yield from asyncio.sleep(0, loop=event_loop)
20-
yield from asyncio.ensure_future(inc(), loop=event_loop)
20+
yield from asyncio.async(inc(), loop=event_loop)
2121
assert counter == 2
2222

2323

0 commit comments

Comments
 (0)