Stefan Krah <stefan-use...@bytereef.org> added the comment: > So the test needs to be fixed to call importlib.invalidate_caches() > after creating the module.
That works. With issue14080.diff I can run the failing combination without problems: $ ./python -m test test_sqlite test_imp [1/2] test_sqlite test_sqlite skipped -- No module named '_sqlite3' [2/2] test_imp 1 test OK. 1 test skipped: test_sqlite Those skips are all expected on linux. [111339 refs] Is invalidate_caches() a transitional measure until importlib is fully integrated? ---------- keywords: +patch Added file: http://bugs.python.org/file24646/issue14080.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14080> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com