Author SilentGhost
Recipients Arfrever, SilentGhost, ezio.melotti, vstinner
Date 2015-11-22.10:52:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
test_support has this line:

TESTDIRN = os.path.basename(tempfile.mkdtemp(dir='.'))

Which is the culprit. The reason it gets so far as to import the module is due to the "fuzzy logic" check looking for __all__ 
What I'd suggest is replacing simple "in" string search with for '\b__all__\b'. The downside of this is that the test execution time increased from .4 s to .7 s on my machine.
Date User Action Args
2015-11-22 10:52:10SilentGhostsetrecipients: + SilentGhost, vstinner, ezio.melotti, Arfrever
2015-11-22 10:52:10SilentGhostsetmessageid: <>
2015-11-22 10:52:09SilentGhostlinkissue25695 messages
2015-11-22 10:52:09SilentGhostcreate