From: Guido van Rossum Date: Mon, 16 Sep 2002 01:30:03 +0000 (+0000) Subject: Since it tests both ntohl and ntohs, the test should not be called X-Git-Tag: v2.3c1~4063 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0a0e0810b8d17cc8733a3aa967bd2d4e4f12fb4;p=thirdparty%2FPython%2Fcpython.git 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 3dea4e0c09b8..ca3c4ff21819 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,