Brett Cannon <br...@python.org> added the comment:

I realized the problem was that _frozen_importlib was getting set to None, 
which won't trigger an exception since the code was just directly accessing 
sys.modules. I switched to an ``import ... as ...`` clause and moved to using 
test.support.import_fresh_module() and that seemed to fix the problem.

----------
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15210>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to