[issue28655] Tests altered the execution environment in isolated mode

STINNER Victor report at bugs.python.org
Wed Sep 26 12:07:24 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

> I can confirm this on 3.6. Interestingly `--fail-env-changed` flag didn't catch this but running in verbose mode failed.

Oh... When using -j0, regrtest doesn't spawn worker processes using -I: the flag is simply omitted... As a side effect, forget() in test_import doesn't remove pyc_file from the current directory.

I created bpo-34812 to track this issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28655>
_______________________________________


More information about the Python-bugs-list mailing list