summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-09-05 02:35:08 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-09-05 02:35:08 (GMT)
commit919d5cc16328e692680c3de3493dd1afb24a8acf (patch)
tree9f7bf4d5b9cc4bdee78b7fec2e7c4c8d47a7536d
parent477ca1c953ae778fc71378318daed790b0ac9ac5 (diff)
downloadcpython-919d5cc16328e692680c3de3493dd1afb24a8acf.zip
cpython-919d5cc16328e692680c3de3493dd1afb24a8acf.tar.gz
cpython-919d5cc16328e692680c3de3493dd1afb24a8acf.tar.bz2
This was found by Guido AFAIK on p3yk (sic) branch.
-rw-r--r--Lib/bsddb/test/test_basics.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_basics.py b/Lib/bsddb/test/test_basics.py
index 25e0b6b..e6022ba 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 c7bd4d6..d8e6b3c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -41,6 +41,9 @@ Extension Modules
Tests
-----
+- Fix bsddb test_basics.test06_Transactions to check the version
+ number properly.
+
Documentation
-------------