[Python-checkins] python/dist/src/Lib/test test_socket.py,1.58,1.59

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
2002年9月15日 18:30:05 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17854
Modified Files:
	test_socket.py 
Log Message:
Since it tests both ntohl and ntohs, the test should not be called
testNtoHL but testNtoH.
Index: test_socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** test_socket.py	14 Sep 2002 00:58:46 -0000	1.58
--- test_socket.py	16 Sep 2002 01:30:03 -0000	1.59
***************
*** 249,253 ****
 pass
 
! def testNtoHL(self):
 # This just checks that htons etc. are their own inverse,
 # when looking at the lower 16 or 32 bits.
--- 249,253 ----
 pass
 
! def testNtoH(self):
 # This just checks that htons etc. are their own inverse,
 # when looking at the lower 16 or 32 bits.

AltStyle によって変換されたページ (->オリジナル) /