This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients eli.bendersky
Date 2012-12-30.00:56:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

This came up while investigating some test-order-dependency failures in
issue 16076.

test___all__ goes over modules that have `__all__` in them and does 'from
<module> import *' on them. This leaves a lot of modules in sys.modules,
which may interfere with some tests that do fancy things with sys,modules.
In particular, the ElementTree tests have trouble with it because they
carefully set up the imports to get the C or the Python version of etree
(see issues 15083 and 15075).

Would it make sense to save the sys.modules state and restore it in
test___all__ so that sys.modules isn't affected by this test?
Date User Action Args
2012-12-30 00:56:11eli.benderskysetrecipients: + eli.bendersky
2012-12-30 00:56:09eli.benderskysetmessageid: <>
2012-12-30 00:56:09eli.benderskylinkissue16817 messages
2012-12-30 00:56:09eli.benderskycreate