Issue 23820: test_importlib fails under -O (original) (raw)

Issue23820

Created on 2015-03-31 13:35 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue23820.patch serhiy.storchaka,2015-03-31 15:14 review
Messages (3)
msg239705 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2015-03-31 13:35
====================================================================== 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'
msg239725 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-03-31 15:14
Here is a patch.
msg240739 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2015-04-13 20:31
The PEP 488 change actually fixed this.
History
Date User Action Args
2022-04-11 14:58:14 admin set github: 68008
2015-04-13 20:31:39 brett.cannon set status: open -> closedresolution: out of datemessages: + stage: patch review -> resolved
2015-03-31 15:14:11 serhiy.storchaka set files: + issue23820.patchnosy: + serhiy.storchakamessages: + keywords: + patchstage: needs patch -> patch review
2015-03-31 13:35:35 brett.cannon create