[Python-checkins] CVS: python/dist/src/Lib/test test_al.py,1.2,1.3 test_b1.py,1.22,1.23 test_cd.py,1.2,1.3 test_cl.py,1.2,1.3 test_pwd.py,1.5,1.6 test_winreg.py,1.2,1.3 test_zlib.py,1.7,1.8

Jeremy Hylton python-dev@python.org
2000年6月28日 07:48:04 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv723/Lib/test
Modified Files:
	test_al.py test_b1.py test_cd.py test_cl.py test_pwd.py 
	test_winreg.py test_zlib.py 
Log Message:
typos fixed by Rob Hooft
Index: test_al.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_al.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_al.py	1998年03月26日 19:41:38	1.2
--- test_al.py	2000年06月28日 14:48:01	1.3
***************
*** 9,13 ****
 'newconfig', 'openport', 'queryparams', 'setparams']
 
! # This is a very inobstrusive test for the existance of the al module and all it's
 # attributes. More comprehensive examples can be found in Demo/al
 
--- 9,13 ----
 'newconfig', 'openport', 'queryparams', 'setparams']
 
! # This is a very unobtrusive test for the existence of the al module and all it's
 # attributes. More comprehensive examples can be found in Demo/al
 
Index: test_b1.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b1.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** test_b1.py	2000年04月14日 19:13:22	1.22
--- test_b1.py	2000年06月28日 14:48:01	1.23
***************
*** 271,275 ****
 if int("10",16) <> 16L: raise TestFailed, 'int("10",16)'
 if int(u"10",16) <> 16L: raise TestFailed, 'int(u"10",16)'
! # Test conversion fron strings and various anomalies
 L = [
 ('0', 0),
--- 271,275 ----
 if int("10",16) <> 16L: raise TestFailed, 'int("10",16)'
 if int(u"10",16) <> 16L: raise TestFailed, 'int(u"10",16)'
! # Test conversion from strings and various anomalies
 L = [
 ('0', 0),
Index: test_cd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cd.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_cd.py	1998年03月26日 19:41:49	1.2
--- test_cd.py	2000年06月28日 14:48:01	1.3
***************
*** 11,15 ****
 
 
! # This is a very inobstrusive test for the existance of the cd module and all it's
 # attributes. More comprehensive examples can be found in Demo/cd and
 # require that you have a CD and a CD ROM drive
--- 11,15 ----
 
 
! # This is a very inobtrusive test for the existence of the cd module and all it's
 # attributes. More comprehensive examples can be found in Demo/cd and
 # require that you have a CD and a CD ROM drive
Index: test_cl.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_cl.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_cl.py	1998年03月26日 19:41:52	1.2
--- test_cl.py	2000年06月28日 14:48:01	1.3
***************
*** 64,68 ****
 
 
! # This is a very inobstrusive test for the existance of the cl
 # module and all it's attributes.
 
--- 64,68 ----
 
 
! # This is a very inobtrusive test for the existence of the cl
 # module and all it's attributes.
 
Index: test_pwd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pwd.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** test_pwd.py	1998年03月26日 19:42:32	1.5
--- test_pwd.py	2000年06月28日 14:48:01	1.6
***************
*** 60,64 ****
 print 'fakename', fakename, 'did not except pwd.getpwnam()'
 
! # Choose a non-existant uid.
 fakeuid = 4127
 while byuids.has_key(fakeuid):
--- 60,64 ----
 print 'fakename', fakename, 'did not except pwd.getpwnam()'
 
! # Choose a non-existent uid.
 fakeuid = 4127
 while byuids.has_key(fakeuid):
Index: test_winreg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_winreg.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_winreg.py	2000年04月01日 05:25:57	1.2
--- test_winreg.py	2000年06月28日 14:48:01	1.3
***************
*** 116,120 ****
 try:
 key = OpenKey(root_key, test_key_name)
! assert 0, "Could open the non-existant key"
 except WindowsError: # Use this error name this time
 pass
--- 116,120 ----
 try:
 key = OpenKey(root_key, test_key_name)
! assert 0, "Could open the non-existent key"
 except WindowsError: # Use this error name this time
 pass
Index: test_zlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_zlib.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** test_zlib.py	2000年02月10日 15:31:07	1.7
--- test_zlib.py	2000年06月28日 14:48:01	1.8
***************
*** 12,16 ****
 file.close()
 
! # test the chucksums (hex so the test doesn't break on 64-bit machines)
 print hex(zlib.crc32('penguin')), hex(zlib.crc32('penguin', 1))
 print hex(zlib.adler32('penguin')), hex(zlib.adler32('penguin', 1))
--- 12,16 ----
 file.close()
 
! # test the checksums (hex so the test doesn't break on 64-bit machines)
 print hex(zlib.crc32('penguin')), hex(zlib.crc32('penguin', 1))
 print hex(zlib.adler32('penguin')), hex(zlib.adler32('penguin', 1))

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