summaryrefslogtreecommitdiff
path: root/Lib/bsddb/test/test_associate.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-25943: Fix potential heap corruption in bsddb's _db_associateCallback() ↵Zackery Spytz2018-07-211-0/+16
| | | | | | | (GH-8337) There was a missing check for integer overflow, several function calls were not checked for failure, and allocated memory was not freed if an error occurred.
* bpo-30850: Use specialized assert methods in bsddb tests. (#2584)Serhiy Storchaka2017-07-051-3/+4
| | | This provides more information on test failures.
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* pybsddb 4.8.4 integration. Please, comment in issue #8156Jesus Cea2010-03-221-23/+43
|
* Update bsddb code to version 4.7.3pre2. This code shouldJesus Cea2008-08-311-20/+11
| | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
* bsddb module updated to version 4.7.2devel9.Jesus Cea2008-07-231-21/+14
| | | | | | | | | | | | | 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-39/+21
|
* 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.
* Consistently use tempfile.tempdir for the db_home directory.Neal Norwitz2008-01-261-1/+1
|
* [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵Andrew M. Kuchling2007-01-051-1/+1
| | | | the Lib/bsddb/test directory
* Plug the last 657 referenceleaks in test_bsddb3: a circular referenceThomas Wouters2006-03-121-0/+5
| | | | | | | between a TestCase instance, the database it opened (or a cursor to a database) and a bound method as a registered database callback, and a lack of GC-handling in bsddb caused the TestCases to linger. Fix the test, for now, as backward compatibility makes adding GC to bsddb annoying.
* Tools/scripts/reindent.py _is_ your friendAnthony Baxter2005-06-081-60/+60
|
* fix more Errors (not Failures) when run using BerkeleyDB <= 4.0Gregory P. Smith2005-06-061-4/+13
|
* fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2Gregory P. Smith2005-06-061-32/+61
|
* test case for pybsddb SF bug id 1215432Gregory P. Smith2005-06-061-0/+50
|
* test DB.associate using transactions. somewhat related to SF pybsddbGregory P. Smith2005-06-061-12/+46
| | | | bug #1215432
* Adds support for DB.pget and DBCursor.pget methods.Gregory P. Smith2004-06-281-0/+25
| | | | | Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26.
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-2/+2
| | | | From SF patch #852334.
* 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.
* bsddb 4.1.6:Gregory P. Smith2003-07-091-1/+1
| | | | | | | | | | | * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item.
* Everything worked in both the distutils distro and in Python 2.3cvs,Barry Warsaw2003-01-281-1/+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-28/+26
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Whitespace normalization.Tim Peters2002-11-241-4/+4
|
* Importing test suite from bsddb3 3.4.0 (with modifications).Martin v. Löwis2002-11-191-0/+323