@@ -524,7 +524,6 @@ def test_first_query_delay():
524524 first_query_time = None
525525
526526 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT ):
527- """Sends an outgoing packet."""
528527 nonlocal first_query_time
529528 if first_query_time is None :
530529 first_query_time = current_time_millis ()
@@ -578,7 +577,6 @@ def on_service_state_change(zeroconf, service_type, state_change, name):
578577 questions : list [list [DNSQuestion ]] = []
579578
580579 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
581- """Sends an outgoing packet."""
582580 pout = r .DNSIncoming (out .packets ()[0 ])
583581 questions .append (pout .questions )
584582 got_query .set ()
@@ -680,7 +678,6 @@ def on_service_state_change(zeroconf, service_type, state_change, name):
680678 packets = []
681679
682680 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
683- """Sends an outgoing packet."""
684681 pout = r .DNSIncoming (out .packets ()[0 ])
685682 packets .append (pout )
686683 got_query .set ()
@@ -773,7 +770,6 @@ async def test_asking_qm_questions():
773770 first_outgoing = None
774771
775772 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT ):
776- """Sends an outgoing packet."""
777773 nonlocal first_outgoing
778774 if first_outgoing is None :
779775 first_outgoing = out
@@ -813,7 +809,6 @@ async def test_asking_qu_questions():
813809 first_outgoing = None
814810
815811 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT ):
816- """Sends an outgoing packet."""
817812 nonlocal first_outgoing
818813 if first_outgoing is None :
819814 first_outgoing = out
@@ -1257,7 +1252,6 @@ async def test_query_scheduler():
12571252 sends : list [r .DNSIncoming ] = []
12581253
12591254 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
1260- """Sends an outgoing packet."""
12611255 pout = r .DNSIncoming (out .packets ()[0 ])
12621256 sends .append (pout )
12631257
@@ -1350,7 +1344,6 @@ async def test_query_scheduler_rescue_records():
13501344 sends : list [r .DNSIncoming ] = []
13511345
13521346 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
1353- """Sends an outgoing packet."""
13541347 pout = r .DNSIncoming (out .packets ()[0 ])
13551348 sends .append (pout )
13561349
@@ -1664,7 +1657,6 @@ def on_service_state_change(zeroconf, service_type, state_change, name):
16641657 sends : list [r .DNSIncoming ] = []
16651658
16661659 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
1667- """Sends an outgoing packet."""
16681660 pout = r .DNSIncoming (out .packets ()[0 ])
16691661 sends .append (pout )
16701662
@@ -1732,7 +1724,6 @@ def on_service_state_change(zeroconf, service_type, state_change, name):
17321724 sends : list [r .DNSIncoming ] = []
17331725
17341726 def send (out , addr = const ._MDNS_ADDR , port = const ._MDNS_PORT , v6_flow_scope = ()):
1735- """Sends an outgoing packet."""
17361727 pout = r .DNSIncoming (out .packets ()[0 ])
17371728 sends .append (pout )
17381729
0 commit comments