projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae2094
)
Since it tests both ntohl and ntohs, the test should not be called
author
Guido van Rossum
<guido@python.org>
Mon, 16 Sep 2002 01:30:03 +0000
(
01:30
+0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 16 Sep 2002 01:30:03 +0000
(
01:30
+0000)
testNtoHL but testNtoH.
Lib/test/test_socket.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_socket.py
b/Lib/test/test_socket.py
index 3dea4e0c09b8e3d009afb1866d042d2990203ec3..ca3c4ff218190244a0accd3885b674abc895055c 100644
(file)
--- 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 testNtoH
L
(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,