From fbdd52cfdca35170939fbe680dfd42793da79b7e Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 6 Nov 2019 11:25:12 -0800 Subject: [PATCH] Go with immutable datatype in lieu of mutable datatype --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 4dbe2010..965338a6 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -45,7 +45,7 @@ async def set_up_nodes_by_transport_and_disc_opt(transport_disc_opt_list): return tuple(nodes_list) -async def set_up_routers(router_confs=[0, 0]): +async def set_up_routers(router_confs=(0, 0)): """The default ``router_confs`` selects two free ports local to this machine.""" bootstrap_node = KademliaServer()