[issue40173] test.support.import_fresh_module fails to correctly block submodules when fresh is specified
Serhiy Storchaka
report at bugs.python.org
Thu Sep 30 09:58:57 EDT 2021
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I just encountered this bug after rewriting datetime tests in issue45229. It is also the cause of issue40058.
Not knowing about this issue I have wrote different patch than Hai Shi. It makes the code of import_fresh_module() clearer and fixes many other issues.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40173>
_______________________________________
More information about the Python-bugs-list
mailing list