[New-bugs-announce] [issue23820] test_importlib fails under -O

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


New submission from Brett Cannon:

======================================================================
FAIL: test_cached_sourceless (test.test_importlib.test_spec.Frozen_ModuleSpecTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/bcannon/Repositories/cpython/default/Lib/test/test_importlib/test_spec.py", line 224, in test_cached_sourceless
    self.assertEqual(self.loc_spec.cached, 'spam.pyc')
AssertionError: None != 'spam.pyc'

----------
assignee: brett.cannon
components: Tests
messages: 239705
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_importlib fails under -O
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23820>
_______________________________________


More information about the New-bugs-announce mailing list