R. David Murray added the comment: It would help because import_fresh_module would have updated sys.modules to be the module under test, and would not restore the previously existing entry in sys.modules until after your test had completed.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16817> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com