Eric V. Smith <e...@trueblade.com> added the comment: The current tests don't like setting sys.modules to [].
I like resetting everything (including sys.modules) back to the original state. Otherwise some tests, which do things like "import foo", affect later tests. So, I think I'll leave the patch as-is. I'll rename it, fix all references to it, then check it in. After that I'll start using it in other tests. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14715> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com