summaryrefslogtreecommitdiff
path: root/Lib/bsddb/test/test_thread.py
Commit message (Collapse)AuthorAgeFilesLines
* pybsddb 4.8.4 integration. Please, comment in issue #8156Jesus Cea2010-03-221-18/+11
|
* Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-021-2/+2
|
* Update bsddb code to version 4.7.3pre2. This code shouldJesus Cea2008-08-311-28/+75
| | | | | | 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-22/+13
| | | | | | | | | | | | | 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-185/+166
|
* Remove the files/dirs after closing the DB so the tests work on Windows.Neal Norwitz2008-03-051-1/+1
| | | | Patch from Trent Nelson. Also simplified removing a file by using test_support.
* 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-6/+3
| | | | | | | | | | | | 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
|
* Fix exception in tearDown on ppc buildbot. If there's no directory,Neal Norwitz2008-01-261-2/+5
| | | | that shouldn't cause the test to fail. Just like it setUp.
* [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
* BaseThreadedTestCase.setup(): stop special-casing WindowsError.Tim Peters2006-05-111-2/+0
| | | | | Rev 45964 fiddled with WindowsError, and broke test_bsddb3 on all the Windows buildbot slaves as a result. This should repair it.
* Handle ERROR_ALREADY_EXISTS.Martin v. Löwis2006-05-061-0/+8
|
* Purged Berkeley code of references to the long-obsolete whrandom.Tim Peters2004-08-081-1/+1
|
* 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.
* readerThread(): Add max_retries to both DeadlockWrap() calls. ThisBarry Warsaw2003-07-211-2/+2
| | | | may cause some tests to fail but it prevents them from hanging.
* Wrap the cursor functions with dbutils.DeadlockWrap to deal with theGregory P. Smith2003-05-281-2/+2
| | | | expected DBLockDeadLockErrors.
* Everything worked in both the distutils distro and in Python 2.3cvs,Barry Warsaw2003-01-281-1/+8
| | | | so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
* Cleanups, and conversion of assert to assertEqual()Barry Warsaw2003-01-101-71/+69
|
* Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now atBarry Warsaw2002-12-301-21/+26
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Merge with bsddb3 2002.11.23.10.42.36Martin v. Löwis2002-11-231-9/+12
|
* Importing test suite from bsddb3 3.4.0 (with modifications).Martin v. Löwis2002-11-191-0/+487