[Python-checkins] python/dist/src/Lib/test test_class.py, 1.10, 1.11 test_errno.py, 1.8, 1.9 test_os.py, 1.18, 1.19 test_stringprep.py, 1.2, 1.3

doerwalter at users.sourceforge.net doerwalter at users.sourceforge.net
Mon Oct 20 10:02:24 EDT 2003


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv2359/Lib/test

Modified Files:
	test_class.py test_errno.py test_os.py test_stringprep.py 
Log Message:
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)


Index: test_class.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_class.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_class.py	29 Oct 2002 19:08:29 -0000	1.10
--- test_class.py	20 Oct 2003 14:01:51 -0000	1.11
***************
*** 203,207 ****
      hex(testme)
  else:
!     # Jython enforced that the these methods return
      # a value of the expected type.
      print "__int__: ()"
--- 203,207 ----
      hex(testme)
  else:
!     # Jython enforced that these methods return
      # a value of the expected type.
      print "__int__: ()"

Index: test_errno.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_errno.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** test_errno.py	23 Jul 2002 19:03:51 -0000	1.8
--- test_errno.py	20 Oct 2003 14:01:51 -0000	1.9
***************
*** 35,39 ****
  
  #
! # This is is a wee bit bogus since the module only conditionally adds
  # errno constants if they have been defined by errno.h  However, this
  # test seems to work on SGI, Sparc & intel Solaris, and linux.
--- 35,39 ----
  
  #
! # This is a wee bit bogus since the module only conditionally adds
  # errno constants if they have been defined by errno.h  However, this
  # test seems to work on SGI, Sparc & intel Solaris, and linux.

Index: test_os.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_os.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** test_os.py	1 May 2003 17:45:43 -0000	1.18
--- test_os.py	20 Oct 2003 14:01:51 -0000	1.19
***************
*** 1,5 ****
  # As a test suite for the os module, this is woefully inadequate, but this
  # does add tests for a few functions which have been determined to be more
! # more portable than they had been thought to be.
  
  import os
--- 1,5 ----
  # As a test suite for the os module, this is woefully inadequate, but this
  # does add tests for a few functions which have been determined to be more
! # portable than they had been thought to be.
  
  import os

Index: test_stringprep.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_stringprep.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_stringprep.py	24 Apr 2003 16:02:53 -0000	1.2
--- test_stringprep.py	20 Oct 2003 14:01:52 -0000	1.3
***************
*** 72,76 ****
  # it is quite expensive, and only serves to detect changes in the
  # unicode database. Instead, stringprep.py asserts the version of
! # of the database.
  
  # predicates = [k for k in dir(stringprep) if k.startswith("in_table")]
--- 72,76 ----
  # it is quite expensive, and only serves to detect changes in the
  # unicode database. Instead, stringprep.py asserts the version of
! # the database.
  
  # predicates = [k for k in dir(stringprep) if k.startswith("in_table")]





More information about the Python-checkins mailing list