[Python-Dev] test___all__ polluting sys.modules?

Stefan Krah stefan at bytereef.org
Sun Dec 30 15:31:34 CET 2012


Eli Bendersky <eliben at gmail.com> wrote:
> Yes, this seems to have done the trick. Thanks for the suggestion.
> 
> I'm still curious about the test-in-clean-env question though.

I think that in general we do want to check unexpected interactions between
tests, that's also why the test order is randomized.

Here's an example that might not have been caught with clean-env tests:

http://bugs.python.org/issue7384


Stefan Krah





More information about the Python-Dev mailing list