mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Remove cleanup
`cleanup` cancels all tasks in the loop, including the main one run by `run_until_complete`
This commit is contained in:
@ -3,7 +3,7 @@ from threading import Thread
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.utils import cleanup, connect
|
||||
from tests.utils import connect
|
||||
|
||||
from .dummy_account_node import DummyAccountNode
|
||||
|
||||
@ -64,7 +64,6 @@ async def perform_test(num_nodes, adjacency_map, action_func, assertion_func):
|
||||
assertion_func(dummy_node)
|
||||
|
||||
# Success, terminate pending tasks.
|
||||
await cleanup()
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user