[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Roundup Robot added the comment: New changeset 2370ae9ee052 by Ezio Melotti in branch '3.2': #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. http://hg.python.org/cpython/rev/2370ae9ee052 New changeset c70746a0291f by Ezio Melotti in branch '2.7': #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters. http://hg.python.org/cpython/rev/c70746a0291f New changeset 5aa5bebcd768 by Ezio Melotti in branch '3.3': #11420: merge with 3.2. http://hg.python.org/cpython/rev/5aa5bebcd768 New changeset 0a15a58ac4a1 by Ezio Melotti in branch 'default': #11420: merge with 3.3. http://hg.python.org/cpython/rev/0a15a58ac4a1 -- nosy: +python-dev ___ 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Ezio Melotti added the comment: This should be fixed now. -- assignee: - ezio.melotti resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7 ___ 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Éric Araujo added the comment: Looks fine. Can this go into 2.7 too? -- nosy: +eric.araujo ___ 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Berker Peksag added the comment: +skip_if_dont_write_bytecode = unittest.skipIf( +sys.dont_write_bytecode, +test meaningful only when writing bytecode) Maybe this could be added to the test.support module? -- nosy: +berker.peksag ___ 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Ezio Melotti added the comment: There are a couple more tests elsewhere that use @skipIf(sys.dont_write_bytecode, ...) directly, but I don't think it's generic enough to be moved to test.support. -- ___ 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Ezio Melotti added the comment: Attached an updated patch against 3.2. -- nosy: +ezio.melotti type: - behavior versions: +Python 3.4 -Python 3.1 Added file: http://bugs.python.org/file29405/issue11420.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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Changes by Thomas Wouters tho...@python.org: Removed 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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Changes by Thomas Wouters tho...@python.org: Removed file: http://bugs.python.org/file21023/py32-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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Thomas Wouters tho...@python.org added the comment: As per issue #11417, updated to also skip the tests in distutils/tests/test_bdist_rpm.py when not writing bytecode. -- Added file: http://bugs.python.org/file21036/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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Changes by Thomas Wouters tho...@python.org: Added file: http://bugs.python.org/file21037/py32-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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Changes by Thomas Wouters tho...@python.org: Added file: http://bugs.python.org/file21023/py32-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
[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +barry, ncoghlan stage: - patch review ___ 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