New submission from Thomas Wouters <tho...@python.org>: This patch tweaks a few tests that currently rely on .pyc files being written, causing them to fail (or crash) when running 'make test TESTPYTHONOPTS=-B'. All these are purely test failures, not failures in the tested code (unlike issue #11417, which is a failure in bdist_rpm instead of the test.)
(This patch is for 3.1; the patch for 3.2/default is slightly different. I also have the same patch for Python 2.6/2.7, but I'm not sure if it's worth applying.) ---------- components: Tests files: py31-dontwritebytecode.diff keywords: patch messages: 130204 nosy: twouters priority: normal severity: normal status: open title: Make testsuite pass with -B/DONTWRITEBYTECODE set. versions: Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file21022/py31-dontwritebytecode.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11420> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com