mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Merge bitcoin/bitcoin#24342: test: remove import socket
in test_ipv6_local
460fa8e0d9
test: remove `import socket` in test_ipv6_local (brunoerg) Pull request description: Since this module (`socket`) is imported at the top of file, there is no need to import it again within the function. ACKs for top commit: MarcoFalke: cr ACK460fa8e0d9
Tree-SHA512: 031c17a776dedaa21b3ec6458ca822304e76a5a3f4494406e6b7b04f08cc2abefcfe742c462b60c9b3e2fee3cd110a69ed5ad413357886dc7b823abc916ea40e
This commit is contained in:
commit
6b8e4977b8
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ def test_ipv6_local():
|
|||
'''
|
||||
Check for (local) IPv6 support.
|
||||
'''
|
||||
import socket
|
||||
# By using SOCK_DGRAM this will not actually make a connection, but it will
|
||||
# fail if there is no route to IPv6 localhost.
|
||||
have_ipv6 = True
|
||||
|
|
Loading…
Add table
Reference in a new issue