commit | c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Sep 16 01:30:03 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Sep 16 01:30:03 2002 +0000 |
tree | a68dc190b28d9a314187b97c5af2cf4a071bbfbb | |
parent | aae2094991c9b8d0f26b19b07a17eeb22ec0cd01 [diff] |
Since it tests both ntohl and ntohs, the test should not be called testNtoHL but testNtoH.
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 @@ 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,