@@ -72,7 +72,7 @@ def wrap(fn):
7272
7373
7474def test_async_send_recv (
75- port_a : int , port_b : int , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
75+ port_a : int = 0 , port_b : int = 0 , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
7676):
7777 buf_a = ctypes .create_string_buffer (128 )
7878 buf_b = ctypes .create_string_buffer (128 )
@@ -114,7 +114,7 @@ def run_b():
114114
115115
116116def test_async_send2recv (
117- port_a : int , port_b : int , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
117+ port_a : int = 0 , port_b : int = 0 , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
118118):
119119 buf_a = ctypes .create_string_buffer (32 )
120120 buf_b = ctypes .create_string_buffer (32 )
@@ -146,7 +146,7 @@ def run_b():
146146
147147
148148def test_async_write (
149- port_a : int , port_b : int , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
149+ port_a : int = 0 , port_b : int = 0 , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
150150):
151151 buf_a = ctypes .create_string_buffer (256 )
152152 buf_b = ctypes .create_string_buffer (256 )
@@ -184,7 +184,7 @@ def run_b():
184184
185185
186186def test_async_read (
187- port_a : int , port_b : int , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
187+ port_a : int = 0 , port_b : int = 0 , ip_a : str = "0.0.0.0" , ip_b : str = "0.0.0.0"
188188):
189189 buf_a = ctypes .create_string_buffer (256 )
190190 buf_b = ctypes .create_string_buffer (256 )
0 commit comments