mirror of
https://github.com/python/cpython
synced 2024-09-20 06:21:48 +00:00
Since it tests both ntohl and ntohs, the test should not be called
testNtoHL but testNtoH.
This commit is contained in:
parent
aae2094991
commit
c0a0e0810b
|
@ -248,7 +248,7 @@ def testInterpreterCrash(self):
|
|||
except socket.error:
|
||||
pass
|
||||
|
||||
def testNtoHL(self):
|
||||
def testNtoH(self):
|
||||
# This just checks that htons etc. are their own inverse,
|
||||
# when looking at the lower 16 or 32 bits.
|
||||
sizes = {socket.htonl: 32, socket.ntohl: 32,
|
||||
|
|
Loading…
Reference in a new issue