From c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 16 Sep 2002 01:30:03 +0000 Subject: Since it tests both ntohl and ntohs, the test should not be called testNtoHL but testNtoH. --- Lib/test/test_socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v0.12