[New-bugs-announce] [issue12095] test failures due to missing module

Ronald Oussoren report at bugs.python.org
Tue May 17 13:27:58 CEST 2011

New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

When I run the test suite on OSX (configure; make test) I get unexpected est failures:

6 tests failed:
    test_codecencodings_cn test_codecencodings_hk
    test_codecencodings_jp test_codecencodings_kr

When I run one of these manually I get the following traceback:

./python.exe ../Lib/test/test_codecencodings_cn.py
Traceback (most recent call last):
  File "../Lib/test/test_codecencodings_cn.py", line 11, in <module>
    class Test_GB2312(test_multibytecodec_support.TestBase, unittest.TestCase):
  File "../Lib/test/test_codecencodings_cn.py", line 13, in Test_GB2312
    tstring = test_multibytecodec_support.load_teststring('gb2312')
  File "/Users/ronald/Projects/python/rw/2.7/Lib/test/test_multibytecodec_support.py", line 330, in load_teststring
    from test import cjkencodings_test
ImportError: cannot import name cjkencodings_test

The only reference to cjkencodings_test in the entire 2.7 tree is this import line, there is no module or extension with this name.

components: Library (Lib)
messages: 136148
nosy: ronaldoussoren
priority: high
severity: normal
status: open
title: test failures due to missing module
type: behavior
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list