[issue16803] Make test_import & test_importlib run tests under both _frozen_importlib and importlib._bootstrap

Brett Cannon report at bugs.python.org
Fri Oct 4 18:14:10 CEST 2013


Brett Cannon added the comment:

Turns out this isn't as clean-cut as simply using test.support.import_fresh_module() as you end up with different instances of importlib._bootstrap which kills any possible subclass checks, etc. between e.g. importlib.abc and importlib.machinery as the source versions will have different instances of importlib._bootstrap.

----------

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


More information about the Python-bugs-list mailing list