Modernise
Some checks failed
Publish documentation / publish (push) Successful in 58s
Check / Lint, format & type checks (push) Failing after 1m2s
Check / Test on Python 3.10 (push) Successful in 1m9s
Check / Test on Python 3.9 (push) Successful in 50s

This commit is contained in:
Andras Schmelczer 2026-06-06 21:39:06 +01:00
parent 4c6441182b
commit 8faee98ec6
44 changed files with 214 additions and 201 deletions

View file

@ -24,7 +24,8 @@ class Wrapped:
@pytest.mark.asyncio
async def test_done_callback_cancelled(loop):
async def test_done_callback_cancelled():
loop = asyncio.get_running_loop()
task = loop.create_future()
fut = loop.create_future()
@ -38,7 +39,8 @@ async def test_done_callback_cancelled(loop):
@pytest.mark.asyncio
async def test_done_callback_exception(loop):
async def test_done_callback_exception():
loop = asyncio.get_running_loop()
task = loop.create_future()
fut = loop.create_future()
@ -60,7 +62,8 @@ async def test_done_callback_exception(loop):
@pytest.mark.asyncio
async def test_done_callback(loop):
async def test_done_callback():
loop = asyncio.get_running_loop()
task = loop.create_future()
fut = loop.create_future()
@ -228,7 +231,8 @@ def test_close(loop):
@pytest.mark.asyncio
async def test_wait_closed(loop):
async def test_wait_closed():
loop = asyncio.get_running_loop()
wrapped = Wrapped()
wrapped.tasks = set()