From: Neal Norwitz Date: Tue, 5 Sep 2006 02:00:21 +0000 (+0000) Subject: This was found by Guido AFAIK on p3yk (sic) branch. X-Git-Tag: v2.5c2~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dc71f21618346c273fdbe49004890d64dfada6e;p=python This was found by Guido AFAIK on p3yk (sic) branch. --- 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 -------------