summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test')
-rw-r--r--Lib/bsddb/test/test_compat.py2
-rw-r--r--Lib/bsddb/test/test_recno.py2
-rw-r--r--Lib/bsddb/test/test_thread.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_compat.py b/Lib/bsddb/test/test_compat.py
index 841e01c..af9e128 100644
--- a/Lib/bsddb/test/test_compat.py
+++ b/Lib/bsddb/test/test_compat.py
@@ -120,7 +120,7 @@ class CompatibilityTestCase(unittest.TestCase):
try:
rec = f.next()
except KeyError:
- assert rec == f.last(), 'Error, last <> last!'
+ assert rec == f.last(), 'Error, last != last!'
f.previous()
break
if verbose:
diff --git a/Lib/bsddb/test/test_recno.py b/Lib/bsddb/test/test_recno.py
index 170448e..e325aac 100644
--- a/Lib/bsddb/test/test_recno.py
+++ b/Lib/bsddb/test/test_recno.py
@@ -30,7 +30,7 @@ class SimpleRecnoTestCase(unittest.TestCase):
try:
os.remove(self.filename)
except OSError, e:
- if e.errno <> errno.EEXIST: raise
+ if e.errno != errno.EEXIST: raise
def test01_basic(self):
d = db.DB()
diff --git a/Lib/bsddb/test/test_thread.py b/Lib/bsddb/test/test_thread.py
index f187413..6942aa2 100644
--- a/Lib/bsddb/test/test_thread.py
+++ b/Lib/bsddb/test/test_thread.py
@@ -58,7 +58,7 @@ class BaseThreadedTestCase(unittest.TestCase):
try:
os.mkdir(homeDir)
except OSError, e:
- if e.errno <> errno.EEXIST: raise
+ if e.errno != errno.EEXIST: raise
self.env = db.DBEnv()
self.setEnvOpts()
self.env.open(homeDir, self.envflags | db.DB_CREATE)