summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_misc.py
Commit message (Collapse)AuthorAgeFilesLines
* Refinements in the bsddb testsuiteJesus Cea2008-07-291-3/+3
|
* bsddb module updated to version 4.7.2devel9.Jesus Cea2008-07-231-3/+15
| | | | | | | | | | | | | This patch publishes the work done until now for Python 3.0 compatibility. Still a lot to be done. When possible, we use 3.0 features in Python 2.6, easing development and testing, and exposing internal changes to a wider audience, for better test coverage. Some mode details: http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2
* Testsuite for bsddb module, version 4.6.4Jesus Cea2008-05-131-10/+6
|
* Modify import of test_support so that the code can also be used with aGregory P. Smith2008-03-021-1/+5
| | | | | stand alone distribution of bsddb that includes its own small copy of test_support for the needed functionality on older pythons.
* Create a db_home directory with a unique name so multiple users canNeal Norwitz2008-02-241-7/+4
| | | | | | | | | | | | run the test simultaneously. The simplest thing I found that worked on both Windows and Unix was to use the PID. It's unique so should be sufficient. This should prevent many of the spurious failures of the automated tests since they run as different users. Also cleanup the directory consistenly in the tearDown methods. It would be nice if someone ensured that the directories are always created with a consistent name.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* * db->get_flags is only available in BerkeleyDB >= 4.2Gregory P. Smith2007-11-051-0/+4
|
* Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags andGregory P. Smith2007-11-051-0/+24
| | | | | | | | | | pay attention to them when opening an existing database. This means that d[] behaves properly even on databases previously created with DB_DUP or DB_DUPSORT flags to allow duplicate keys. http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900 Do not backport, this bugfix could be considered an API change.
* Fix bug introduced in revision 58385. Database keys could no longerGregory P. Smith2007-11-011-4/+21
| | | | | have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior.
* Fix a double free when positioning a database cursor to a non-existantGregory P. Smith2007-10-091-0/+20
| | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail.
* [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵Andrew M. Kuchling2007-01-051-1/+2
| | | | the Lib/bsddb/test directory
* Add a unit test for bug fix #1396678.Georg Brandl2006-02-191-2/+8
|
* Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; newGregory P. Smith2003-09-211-3/+3
| | | | | | | | | | features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface has not yet been wrapped in an object. Adds support for building and installing bsddb3 in python2.3 that has an older version of this module installed as bsddb without conflicts. The pybsddb.sf.net build/packaged version of the module uses a dynamicly loadable module called _pybsddb rather than _bsddb.
* fix for use on python 2.1Gregory P. Smith2003-02-031-2/+0
|
* Everything worked in both the distutils distro and in Python 2.3cvs,Barry Warsaw2003-01-281-2/+6
| | | | so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
* Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now atBarry Warsaw2002-12-301-14/+14
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Importing test suite from bsddb3 3.4.0 (with modifications).Martin v. Löwis2002-11-191-0/+56