summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dumbdbm.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2007-01-301-2/+2
|
* This test doesn't pass on Windows. The cause seems to be that chmodNeal Norwitz2007-01-181-2/+8
| | | | | | | | doesn't support the same funcationality as on Unix. I'm not sure if this fix is the best (or if it will even work)--it's a test to see if the buildbots start passing again. It might be better to not even run this test if it's windows (or non-posix).
* [Bug #802128 continued] Modify mode depending on the process umask.Andrew M. Kuchling2006-12-221-6/+10
| | | | | | Is there really no other way to read the umask than to set it? Hope this works on Windows...
* [Bug #802128] Make the mode argument of dumbdbm actually work the way it'sAndrew M. Kuchling2006-12-221-0/+14
| | | | | | | described, and add a test for it. 2.5 bugfix candidate, maybe; arguably this patch changes the API of dumbdbm and shouldn't be added in a point-release.
* Tools/scripts/reindent.py _is_ your friendAnthony Baxter2005-06-081-3/+3
|
* [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵Andrew M. Kuchling2005-06-071-0/+18
| | | | extra \r on the end of a line; fixed by stripping off trailing whitespace.
* Make close() identical to __del__() for a dumbdbm database. MakeTim Peters2003-07-131-0/+7
| | | | | | | closing idempotent (it used to raise a nuisance exception on the 2nd close attempt). Bugfix candidate? Probably, but arguable.
* Added a new randomized test.Tim Peters2003-07-111-0/+28
|
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-2/+1
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* 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. :)
* restructure a bit to not rely on test case execution orderingSkip Montanaro2002-03-171-4/+28
| | | | add test case for bug #482460
* This test left a new set of 3 junk files behind each time it was run.Tim Peters2002-01-301-11/+18
|
* Whitespace normalization.Tim Peters2001-11-131-2/+2
|
* Committing the second part of patch #480902, an improved test suiteBarry Warsaw2001-11-131-31/+66
| | | | | for dumbdbm.py, by Skip Montanaro. The first half of Skip's patch has been postponed until Py2.3 since it adds new features.
* Use a saner test filename, to work on Windows.Guido van Rossum2001-01-191-3/+1
|
* A dumb test for the dumdbm module.Guido van Rossum2001-01-181-0/+39