[issue23822] test_py_compile fails under -O
Roundup Robot added the comment: New changeset f4dd8629ec98 by Brett Cannon in branch 'default': Issue #23822: Fix test_py_compile to not fail under -O. https://hg.python.org/cpython/rev/f4dd8629ec98 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23822 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23822] test_py_compile fails under -O
Brett Cannon added the comment: Thanks for the patch, Serhiy, but my PEP 488 patch invalidated yours. I just skipped it under -O rather than weakening the test to also work under -O. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23822 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23822] test_py_compile fails under -O
Serhiy Storchaka added the comment: Here is a patch. -- keywords: +patch nosy: +serhiy.storchaka stage: needs patch - patch review Added file: http://bugs.python.org/file38760/issue23822.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23822 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23822] test_py_compile fails under -O
New submission from Brett Cannon: == FAIL: test_double_dot_no_clobber (__main__.PyCompileTests) -- Traceback (most recent call last): File /Users/bcannon/Repositories/cpython/default/Lib/test/test_py_compile.py, line 115, in test_double_dot_no_clobber 'foo.bar.{}.pyc'.format(sys.implementation.cache_tag))) AssertionError: '__pycache__/foo.bar.cpython-35.pyo' != '__pycache__/foo.bar.cpython-35.pyc' - __pycache__/foo.bar.cpython-35.pyo ? ^ + __pycache__/foo.bar.cpython-35.pyc ? -- assignee: brett.cannon components: Tests messages: 239707 nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: test_py_compile fails under -O versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23822 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com