summaryrefslogtreecommitdiffstats
path: root/test/SConsignFile/use-gdbm.py
Commit message (Collapse)AuthorAgeFilesLines
* Normalized all sconsfiles and sub-sconsfiles to use algorithm if not ↵Jacob Cassagnol2021-11-101-9/+11
| | | | | | | | | defaulted to md5. Dir search now excludes all types of sconsfiles that are now created. Environment now defaults to the current scons filename instead of .sconsfile Sconsign now has a function used by a lot of code that gets the default sconsign filename Any tests referring to .sconsfile have now been changed, including one old legacy test.
* [PR #3836] while we're at it, update SConsignFile testsMats Wichmann2020-12-051-12/+11
| | | | | | | Formatting, copyright header, make sure to null out tools to speed up Windeows. Signed-off-by: Mats Wichmann <mats@linux.com>
* Run autoflake on codeMats Wichmann2020-09-211-7/+3
| | | | | | | | | | Eliminate unneeded imports, and a few unneeded statements - usually "pass" where it is not syntactically needed. A couple of import try blocks were eliminated or changed when they're "cannot happen" due to current floor Python version. Signed-off-by: Mats Wichmann <mats@linux.com>
* 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.