summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm.py
Commit message (Collapse)AuthorAgeFilesLines
* more intensive test on dbm.Hirokazu Yamamoto2008-10-071-8/+10
|
* Convert test_dummy_threading and test_dbm to unittest.Brett Cannon2008-03-181-51/+31
|
* Add test_main() functions to various tests where it was simple to do. Done soBrett Cannon2008-03-031-7/+13
| | | | | that regrtest can execute the test_main() directly instead of relying on import side-effects.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Backported r51621 from p3yk:Thomas Wouters2007-02-251-2/+2
| | | | | | Don't use a fixed temporary name (gdbm). Don't use our own temp name creation (dbm). Should be backported to 2.5.
* Skip test_dbm if we can't write to the fileNeal Norwitz2002-11-021-31/+43
| | | | | Cleanup (remove) the file(s) after we are done with the test. (Fixes problem on snake farm)
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Check that f.keys() == [] right after creation -- this prevents bugsGuido van Rossum2001-03-221-1/+2
| | | | like the one I just fixed to come back and haunt us.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Fix up the cleanup of the temporary DB so it works for BSD DB'sFred Drake2000-09-181-4/+12
| | | | compatibility layer as well as "classic" ndbm.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-2/+2
|
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-201-1/+6
| | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.
* Added a test script for dbmmodule.c and added it to testall.py andRoger E. Masse1996-12-101-0/+29
updated testall.out