[issue17731] test_iter_importers intermittent failure in test_pkgutil

Nick Coghlan report at bugs.python.org
Mon Apr 15 14:14:27 CEST 2013


Nick Coghlan added the comment:

"spam" is a fairly generic name, so I'm guessing something else is leaving a "spam" module around in sys.modules - when I run the tests with the order given in RDM's original report, I get the same error.

I also get a failure in test_builtin though, which is a little weird.

With the attached file, test_builtin fails (so one of the uncommented tests appears to be interfering with that), while test_pkgutil passes (suggesting that the problem there is one the tests flagged with "#TEMP#"

----------
Added file: http://bugs.python.org/file29861/test_order_issue17731.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17731>
_______________________________________


More information about the Python-bugs-list mailing list