[issue34200] importlib: python -m test test_pkg fails semi-randomly
Jeremy Kloth
report at bugs.python.org
Wed Sep 12 20:08:02 EDT 2018
Jeremy Kloth <jeremy.kloth+python-tracker at gmail.com> added the comment:
Did you attempt to use the 3-line change I posted earlier? I stepped through to test line-by-line to find the offending piece of code. And it was indeed the open() call causing the test-tree to be processed prior to it being completed. Thus making the .py file seen before the directory of same name would exist.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34200>
_______________________________________
More information about the Python-bugs-list
mailing list