[New-bugs-announce] [issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.

Thomas Wouters report at bugs.python.org
Mon Mar 7 00:48:10 CET 2011

New submission from Thomas Wouters <thomas at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list