Ezio Melotti <ezio.melo...@gmail.com> added the comment: Here's a new patch.
I added a could of @skipUnless in test_sqlite because two tests were failing. I couldn't notice this before because I didn't have _sqlite3 and these tests were skipped. Thanks to R. David Murray for reporting the problem. In test_zipimport, the tests in 2/3 of the classes can be executed when zlib is missing (and not only 1/3 as I initially thought). Removed zlib = test_support.import_module('zlib') and added a @skipUnless(zlib, "requires zlib"). Thanks again to David for this. test_multiprocessing, test_xmplrpc and test_docxmlrpc were fixed in #6499, so they are not part of this issue anymore. ---------- keywords: -patch title: test_(zipfile|zipimport|gzip|distutils|multiprocessing|xmlrpc|docxmlrpc) fail if zlib is not available -> test_(zipfile|zipimport|gzip|distutils|sqlite) fail if zlib is not available Added file: http://bugs.python.org/file14524/issue6026-2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com