Eric V. Smith <[email protected]> added the comment: I understand about sys.modules. Maybe I'll create another context manager (say, sys_modules_state) that does the same for sys.modules. I can always stack them together.
When loading pure-Python namespace packages, I want to make sure they get removed before the next test. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14715> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
