Since it tests both ntohl and ntohs, the test should not be called

testNtoHL but testNtoH.
This commit is contained in:
Guido van Rossum 2002-09-16 01:30:03 +00:00
parent aae2094991
commit c0a0e0810b

View file

@ -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,