mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-04-07 22:41:26 +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:
@ -4,7 +4,7 @@ import pytest
|
||||
|
||||
from tests.configs import LISTEN_MADDR
|
||||
from tests.factories import PubsubFactory
|
||||
from tests.utils import cleanup, connect
|
||||
from tests.utils import connect
|
||||
|
||||
from .configs import FLOODSUB_PROTOCOL_ID
|
||||
|
||||
@ -258,4 +258,3 @@ async def perform_test_from_obj(obj, router_factory):
|
||||
assert node_map[origin_node_id].get_id().to_bytes() == msg.from_id
|
||||
|
||||
# Success, terminate pending tasks.
|
||||
await cleanup()
|
||||
|
||||
Reference in New Issue
Block a user