[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

Eric V. Smith report at bugs.python.org
Thu May 17 03:34:37 CEST 2012


Eric V. Smith <eric at trueblade.com> added the comment:

Actually, I was planning on resetting everything, but I haven't gotten that to work yet. I can't figure out why (but I will!).

With the current patch, where things are not reset, the only test I had to change was test_path_importer_cache_empty_string. That change is in the attached -0 diff.

I can't decide which way I prefer it. I might add a parameter to control the behavior.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14715>
_______________________________________


More information about the Python-bugs-list mailing list