summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-28 14:48:01 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-28 14:48:01 (GMT)
commita05e293a219f0fbaf4301fa7a292b9578a523675 (patch)
treef5ed23b622ef5ba098ca41b890f95aa8caeb43ca /Lib/test
parent7c014684c27ad646107b9f17882f43e7bd96f252 (diff)
downloadcpython-a05e293a219f0fbaf4301fa7a292b9578a523675.zip
cpython-a05e293a219f0fbaf4301fa7a292b9578a523675.tar.gz
cpython-a05e293a219f0fbaf4301fa7a292b9578a523675.tar.bz2
typos fixed by Rob Hooft
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/test_al.py2
-rw-r--r--Lib/test/test_b1.py2
-rwxr-xr-xLib/test/test_cd.py2
-rwxr-xr-xLib/test/test_cl.py2
-rw-r--r--Lib/test/test_pwd.py2
-rw-r--r--Lib/test/test_winreg.py2
-rw-r--r--Lib/test/test_zlib.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_al.py b/Lib/test/test_al.py
index 587bf1f..d7b5ec4 100755
--- a/Lib/test/test_al.py
+++ b/Lib/test/test_al.py
@@ -8,7 +8,7 @@ from test_support import verbose
alattrs = ['__doc__', '__name__', 'getdefault', 'getminmax', 'getname', 'getparams',
'newconfig', 'openport', 'queryparams', 'setparams']
-# This is a very inobstrusive test for the existance of the al module and all it's
+# 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
def main():
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index b063e5a..639a017 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -270,7 +270,7 @@ if int(-3.5) <> -3: raise TestFailed, 'int(-3.5)'
# Different base:
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
+# Test conversion from strings and various anomalies
L = [
('0', 0),
('1', 1),
diff --git a/Lib/test/test_cd.py b/Lib/test/test_cd.py
index 4d56158..9a45a7d 100755
--- a/Lib/test/test_cd.py
+++ b/Lib/test/test_cd.py
@@ -10,7 +10,7 @@ cdattrs = ['BLOCKSIZE', 'CDROM', 'DATASIZE', 'ERROR', 'NODISC', 'PAUSED', 'PLAYI
'ident', 'index', 'msftoframe', 'open', 'pnum', 'ptime']
-# This is a very inobstrusive test for the existance of the cd module and all it's
+# 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
diff --git a/Lib/test/test_cl.py b/Lib/test/test_cl.py
index 60fbc43..26c5146 100755
--- a/Lib/test/test_cl.py
+++ b/Lib/test/test_cl.py
@@ -63,7 +63,7 @@ clattrs = ['ADDED_ALGORITHM_ERROR', 'ALAW', 'ALGORITHM_ID',
'YUV422DC', 'YUV422HC', '__doc__', '__name__', 'cvt_type', 'error']
-# This is a very inobstrusive test for the existance of the cl
+# This is a very inobtrusive test for the existence of the cl
# module and all it's attributes.
def main():
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py
index 79bf866..edd40f4 100644
--- a/Lib/test/test_pwd.py
+++ b/Lib/test/test_pwd.py
@@ -59,7 +59,7 @@ except KeyError:
else:
print 'fakename', fakename, 'did not except pwd.getpwnam()'
-# Choose a non-existant uid.
+# Choose a non-existent uid.
fakeuid = 4127
while byuids.has_key(fakeuid):
fakeuid = (fakeuid * 3) % 0x10000
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py
index 1af095a..5eb2986 100644
--- a/Lib/test/test_winreg.py
+++ b/Lib/test/test_winreg.py
@@ -115,7 +115,7 @@ def DeleteTestData(root_key):
# Opening should now fail!
try:
key = OpenKey(root_key, test_key_name)
- assert 0, "Could open the non-existant key"
+ assert 0, "Could open the non-existent key"
except WindowsError: # Use this error name this time
pass
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py
index ccfbc7d..d22a2cc 100644
--- a/Lib/test/test_zlib.py
+++ b/Lib/test/test_zlib.py
@@ -11,7 +11,7 @@ except ImportError:
buf = file.read() * 8
file.close()
-# test the chucksums (hex so the test doesn't break on 64-bit machines)
+# 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))