summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm_gnu.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7798)Victor Stinner2018-06-191-3/+8
| | | | Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a larger value to make sure that the file size changes.
* [3.7] bpo-33383: Fix crash in get() of the dbm.ndbm database object. ↵Miss Islington (bot)2018-04-291-1/+4
| | | | | | | | (GH-6630) (GH-6631) (cherry picked from commit 2e38cc39330bd7f3003652869b644110a97a78d8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-32922: dbm.open() now encodes filename with the filesystem encoding. ↵Miss Islington (bot)2018-02-261-1/+35
| | | | | | | (GH-5832) (cherry picked from commit 6f600ff1734ca2fdcdd37a809adf8130f0d8cc4e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+1
|
* - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.pydoko@ubuntu.com2013-11-191-0/+0
|\
| * - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.pydoko@ubuntu.com2013-11-191-0/+0
| |
* | Close #19282: Native context management in dbmNick Coghlan2013-11-171-0/+11
|/
* Issue #19288: Fixed the "in" operator of dbm.gnu databases for stringSerhiy Storchaka2013-10-241-0/+1
| | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
* #17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware.Ezio Melotti2013-03-011-5/+2
|
* Fix dbm_gnu test relying on set order.Georg Brandl2012-02-201-1/+1
|
* #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-0/+4
|
* use assert[Not]In where appropriateBenjamin Peterson2010-01-191-2/+2
| | | | A patch from Dave Malcolm.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-4/+4
|
* Allow skipping of regression tests not supported on windows. This reduces ↵Kristján Valur Jónsson2009-04-011-1/+2
| | | | noise in the regression test suite for py3k on Windows.
* Fix a broken test_dbm_gnu as introducted by r67380.Brett Cannon2008-11-251-1/+1
|
* dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For theBrett Cannon2008-11-251-0/+2
| | | | | | former they are converted to bytes before being written to the DB. Closes issue 3799. Reviewed by Skip Montanaro.
* Create the dbm package from PEP 3108. #2881.Georg Brandl2008-05-261-0/+81