diff options
author | Guido van Rossum <guido@python.org> | 2002-09-16 01:30:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-09-16 01:30:03 (GMT) |
commit | c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4 (patch) | |
tree | a68dc190b28d9a314187b97c5af2cf4a071bbfbb /Lib/test/test_socket.py | |
parent | aae2094991c9b8d0f26b19b07a17eeb22ec0cd01 (diff) | |
download | cpython-c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4.zip cpython-c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4.tar.gz cpython-c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4.tar.bz2 |
Since it tests both ntohl and ntohs, the test should not be called
testNtoHL but testNtoH.
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 3dea4e0..ca3c4ff 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -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, |