summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdbm.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove a bad test.Brett Cannon2008-03-141-1/+0
|
* Move test_gdbm to use unittest.Brett Cannon2008-03-131-42/+79
| | | | Closes issue #1960. Thanks Giampaolo Rodola.
* 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.
* 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.
* gdbm.open() no longer accepts garbage in the flags string. Fix the tests.Neil Schemenauer2000-12-181-2/+7
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-2/+2
|
* Added test case for accessing gsbm database by key after it's closed;Fred Drake2000-02-071-1/+7
| | | | it should raise gdbm.error.
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-201-3/+2
| | | | | | | | | | | | | | | | '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.
* Test script for the GNU dbm module (gdbm)Roger E. Masse1996-12-171-0/+35