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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to