Skip to content

Commit 06e6c31

Browse files
committed
Fix syntax errors
1 parent 8fbd17b commit 06e6c31

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/test_connection.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from chaski.utils.auto import create_nodes
2929
from typing import Optional
3030
from chaski.scripts import terminate_connections
31+
from chaski.node import ChaskiNode
3132

3233

3334
########################################################################
@@ -45,7 +46,7 @@ def tearDown(self):
4546
terminate_connections.main()
4647

4748
# ----------------------------------------------------------------------
48-
async def _close_nodes(self, nodes: list["ChaskiNode"]):
49+
async def _close_nodes(self, nodes: list[ChaskiNode]):
4950
"""
5051
Close all ChaskiNode instances in the provided list.
5152
@@ -63,7 +64,7 @@ async def _close_nodes(self, nodes: list["ChaskiNode"]):
6364

6465
# ----------------------------------------------------------------------
6566
def assertConnection(
66-
self, node1: "ChaskiNode", node2: "ChaskiNode", msg: Optional[str] = None
67+
self, node1: "ChaskiNode", node2: ChaskiNode, msg: Optional[str] = None
6768
):
6869
"""
6970
Assert that two ChaskiNodes are connected to each other.

0 commit comments

Comments
 (0)