You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-62824: Adjust test_alias_modules_exist test to allow .pyc codec files
In Fedora, we install many codecs as .pyc files to save space.
This test was failing when running from installed Python:
======================================================================
FAIL: test_alias_modules_exist (test.test_codecs.TransformCodecTest.test_alias_modules_exist)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.14/test/test_codecs.py", line 3115, in test_alias_modules_exist
self.assertTrue(os.path.isfile(codec_file),
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Codec file not found: " + codec_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true : Codec file not found: /usr/lib64/python3.14/encodings/cp037.py
----------------------------------------------------------------------
0 commit comments