summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-21 20:27:01 (GMT)
commit3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch)
tree05385e9530059fe3608194b2e8d6f9e57d797220 /Lib/bsddb
parenta12a86e956f949bd145cef247a95ed742386c70b (diff)
downloadcpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.zip
cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz
cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.bz2
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/test/test_basics.py2
-rw-r--r--Lib/bsddb/test/test_compat.py2
-rw-r--r--Lib/bsddb/test/test_recno.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index 52de869..0be76db 100644
--- a/Lib/bsddb/test/test_basics.py
+++ b/Lib/bsddb/test/test_basics.py
@@ -131,7 +131,7 @@ class BasicTestCase(unittest.TestCase):
self.assertEqual(d.get('0321'), '0321-0321-0321-0321-0321')
- # By default non-existant keys return None...
+ # By default non-existent keys return None...
self.assertEqual(d.get('abcd'), None)
# ...but they raise exceptions in other situations. Call
diff --git a/Lib/bsddb/test/test_compat.py b/Lib/bsddb/test/test_compat.py
index a3b4eef..0b0fa70 100644
--- a/Lib/bsddb/test/test_compat.py
+++ b/Lib/bsddb/test/test_compat.py
@@ -133,7 +133,7 @@ class CompatibilityTestCase(unittest.TestCase):
except KeyError:
pass
else:
- self.fail("set_location on non-existant key did not raise KeyError")
+ self.fail("set_location on non-existent key did not raise KeyError")
f.sync()
f.close()
diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py
index b5df68b..895be8a 100644
--- a/Lib/bsddb/test/test_recno.py
+++ b/Lib/bsddb/test/test_recno.py
@@ -150,7 +150,7 @@ class SimpleRecnoTestCase(unittest.TestCase):
if verbose:
print rec
- # test that non-existant key lookups work (and that
+ # test that non-existent key lookups work (and that
# DBC_set_range doesn't have a memleak under valgrind)
rec = c.set_range(999999)
self.assertEqual(rec, None)