[New-bugs-announce] [issue23822] test_py_compile fails under -O

Brett Cannon report at bugs.python.org
Tue Mar 31 15:39:13 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue23822>
_______________________________________


More information about the New-bugs-announce mailing list