Message255093
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 re.search 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:10 | SilentGhost | set | recipients:
+ SilentGhost, vstinner, ezio.melotti, Arfrever |
2015-11-22 10:52:10 | SilentGhost | set | messageid: <1448189530.08.0.180641961681.issue25695@psf.upfronthosting.co.za> |
2015-11-22 10:52:09 | SilentGhost | link | issue25695 messages |
2015-11-22 10:52:09 | SilentGhost | create | |
|