[issue30917] IDLE: Add idlelib.config.IdleConf unittest
Terry J. Reedy
report at bugs.python.org
Tue Jul 18 01:39:29 EDT 2017
Terry J. Reedy added the comment:
Whatever is merged with PR_2691, further improvements can be made in further PRs either on this issue or others that work on config code.
I still think this test is slower than it should be -- the change to deep copy either made no difference or made it slower, but I will try profiling before experimenting more.
In config, the warning prints in the directory search should use _warn, which can be blocked and mocked while testing.
4% uncovered in the file is probably 6% of IdleConf. At least some is error branches that might be interesting to trigger.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30917>
_______________________________________
More information about the Python-bugs-list
mailing list