[issue37890] Modernize several tests in test_importlib

Serhiy Storchaka report at bugs.python.org
Tue Aug 20 03:02:11 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

1) __import__() can be used for purpose. I would not change this.

3) How would you distinguish the case when the module have an attribute with the value is None and when it does not have the attribute at all? This information would lost with your change.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list