summaryrefslogtreecommitdiffstats
path: root/test/SConsignFile/use-gdbm.py
Commit message (Collapse)AuthorAgeFilesLines
* Tweak a few testsMats Wichmann2019-05-301-4/+9
| | | | | | | | | | | | | "for i in range(len(foo))" idiom changed to iterate directly over lists instead of indexing them. zip() generates the iterator in the case with two lists. reversed() used for the Windows drive-letter test. gdbm is not gone, just renamed. change test to find under either name. Use a context manager for closing StringIO objects opened for capturing standard I/O streams. Signed-off-by: Mats Wichmann <mats@linux.com>
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-251-4/+2
| | | | | | | On a linux host (missing some things that may be on the Travis CI setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages. Signed-off-by: Mats Wichmann <mats@linux.com>
* check for correct gdbm module to decide to skip or not py2/3William Deegan2017-03-201-1/+1
|
* Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-1/+1
|
* Add tests of using SConsignFile() with Python dbm modules.Steven Knight2010-08-211-0/+96
Related fixes: explicitly close the db when we close it, and add a .close() method to dblite.py.