Commit e51b29a7 authored by Guido van Rossum's avatar Guido van Rossum

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

testNtoHL but testNtoH.
parent ec83f534
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment