mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class GeneralModuleTests(unittest.TestCase):
|
|||
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…
Add table
Add a link
Reference in a new issue