summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-09-05 02:00:21 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-09-05 02:00:21 +0000
commit8dc71f21618346c273fdbe49004890d64dfada6e (patch)
treecaf2beddfab7a4ba5e1755bfe1b90dba6519f64c
parentd3da7d394a64f3894b625842da4e5cc2f13bac08 (diff)
downloadcpython-git-8dc71f21618346c273fdbe49004890d64dfada6e.tar.gz
This was found by Guido AFAIK on p3yk (sic) branch.
-rw-r--r--Lib/bsddb/test/test_basics.py2
-rw-r--r--Misc/NEWS7
2 files changed, 8 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index 25e0b6b974..e6022ba512 100644
--- a/Lib/bsddb/test/test_basics.py
+++ b/Lib/bsddb/test/test_basics.py
@@ -697,7 +697,7 @@ class BasicTransactionTestCase(BasicTestCase):
for log in logs:
if verbose:
print 'log file: ' + log
- if db.version >= (4,2):
+ if db.version() >= (4,2):
logs = self.env.log_archive(db.DB_ARCH_REMOVE)
assert not logs
diff --git a/Misc/NEWS b/Misc/NEWS
index 3275c7af27..7883c182b2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -40,6 +40,13 @@ Library
- Bug #1543303, patch #1543897: remove NUL padding from tarfiles.
+Tests
+-----
+
+- Fix bsddb test_basics.test06_Transactions to check the version
+ number properly.
+
+
Documentation
-------------