]> granicus.if.org Git - python/commitdiff
This was found by Guido AFAIK on p3yk (sic) branch.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 5 Sep 2006 02:35:08 +0000 (02:35 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 5 Sep 2006 02:35:08 +0000 (02:35 +0000)
Lib/bsddb/test/test_basics.py
Misc/NEWS

index 25e0b6b974653d2f27dd1da8dba8c7b6fa0f8bfc..e6022ba512941206a964e227b7d6a0f10084ad7c 100644 (file)
@@ -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
 
index c7bd4d648de6b3182b439055c4aff72ebba67dee..d8e6b3c1010f2eab8e438cc8a5fe18518d86fb8d 100644 (file)
--- 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
 -------------