[Python-checkins] r51714 - in python/branches/release25-maint: Lib/bsddb/test/test_basics.py Misc/NEWS

neal.norwitz python-checkins at python.org
Tue Sep 5 04:00:23 CEST 2006


Author: neal.norwitz
Date: Tue Sep  5 04:00:21 2006
New Revision: 51714

Modified:
   python/branches/release25-maint/Lib/bsddb/test/test_basics.py
   python/branches/release25-maint/Misc/NEWS
Log:
This was found by Guido AFAIK on p3yk (sic) branch.

Modified: python/branches/release25-maint/Lib/bsddb/test/test_basics.py
==============================================================================
--- python/branches/release25-maint/Lib/bsddb/test/test_basics.py	(original)
+++ python/branches/release25-maint/Lib/bsddb/test/test_basics.py	Tue Sep  5 04:00:21 2006
@@ -697,7 +697,7 @@
         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
 

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Tue Sep  5 04:00:21 2006
@@ -40,6 +40,13 @@
 - Bug #1543303, patch #1543897: remove NUL padding from tarfiles.
 
 
+Tests
+-----
+
+- Fix bsddb test_basics.test06_Transactions to check the version
+  number properly.
+
+
 Documentation
 -------------
 


More information about the Python-checkins mailing list