summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 +0000
committerWalter Dörwald <walter@livinglogic.de>2003-10-20 14:01:56 +0000
commitf0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc (patch)
tree9a4b5d8c9ea1dbbd4ead4b2990c77a997fb3905b /Lib/test
parent4b17e3993b7d4ada586e66ad40a73e12e086645e (diff)
downloadcpython-git-f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc.tar.gz
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_class.py2
-rwxr-xr-xLib/test/test_errno.py2
-rw-r--r--Lib/test/test_os.py2
-rw-r--r--Lib/test/test_stringprep.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index 3c3ea063b1..a37f2a47e3 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -202,7 +202,7 @@ if sys.platform[:4] != 'java':
oct(testme)
hex(testme)
else:
- # Jython enforced that the these methods return
+ # Jython enforced that these methods return
# a value of the expected type.
print "__int__: ()"
print "__long__: ()"
diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py
index 78693281eb..6b02e25cf3 100755
--- a/Lib/test/test_errno.py
+++ b/Lib/test/test_errno.py
@@ -34,7 +34,7 @@ errors = ['E2BIG', 'EACCES', 'EADDRINUSE', 'EADDRNOTAVAIL', 'EADV',
'EUSERS', 'EWOULDBLOCK', 'EXDEV', 'EXFULL']
#
-# This is is a wee bit bogus since the module only conditionally adds
+# 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.
#
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 028ec08574..d5f477468a 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -1,6 +1,6 @@
# 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.
+# portable than they had been thought to be.
import os
import unittest
diff --git a/Lib/test/test_stringprep.py b/Lib/test/test_stringprep.py
index c116adc93c..4459689989 100644
--- a/Lib/test/test_stringprep.py
+++ b/Lib/test/test_stringprep.py
@@ -71,7 +71,7 @@ verify(not in_table_d2(u"\u0040"))
# This would generate a hash of all predicates. However, running
# it is quite expensive, and only serves to detect changes in the
# unicode database. Instead, stringprep.py asserts the version of
-# of the database.
+# the database.
# predicates = [k for k in dir(stringprep) if k.startswith("in_table")]
# predicates.sort()