summaryrefslogtreecommitdiffstats
path: root/test/option/option_profile.py
Commit message (Collapse)AuthorAgeFilesLines
* Tweak a few testsMats Wichmann2019-05-301-22/+19
| | | | | | | | | | | | | "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>
* Speed up option tests for windowsWilliam Deegan2018-09-261-0/+1
|
* Fix name shadowing trap brought to light by py3s changes in module import ↵William Deegan2017-03-131-0/+122
see: http://python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#the-name-shadowing-trap