]> 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:00:21 +0000 (02:00 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 5 Sep 2006 02:00:21 +0000 (02:00 +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 3275c7af27bbc143121786bc28b99b0ffbb23d43..7883c182b273243bd612dcf9f0997947b6fc8737 100644 (file)
--- 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
 -------------