[issue12095] test failures due to missing module

2011-05-17 Thread Ronald Oussoren

New submission from Ronald Oussoren ronaldousso...@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
test_codecencodings_tw

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 rep...@bugs.python.org
http://bugs.python.org/issue12095
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12095] test failures due to missing module

2011-05-17 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +haypo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12095
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12095] test failures due to missing module

2011-05-17 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've verified the issue in a fresh download of revision c449d3c3e0da of the 2.7 
branch.

I'm on OSX 10.6, but that's not really relevant for this issue.

If I'm using 'hg bisect' correctly (and that's a big if as I haven't used it 
before) this failure is caused by this patch:

The first bad revision is:
changeset:   70161:1bd697cdd210
branch:  2.7
parent:  70145:978016199be8
user:Victor Stinner victor.stin...@haypocalc.com
date:Mon May 16 17:16:18 2011 +0200
summary: Issue #12057: Convert CJK encoding testcase BLOB into multiple 
text files


And indeed in this revision:

$ ls cjkencodings_test.py 
ls: cjkencodings_test.py: No such file or directory

$ grep cjkencodings_test test_multibytecodec_support.py
from test import cjkencodings_test
return cjkencodings_test.teststring[encoding]

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12095
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12095] test failures due to missing module

2011-05-17 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Oh oh. I forgot to patch .hgeol and test_multibytecodec_support.py during my 
merge 3.1 (16503022c4b8) - 2.7 (1bd697cdd210). It should be ok with 
83f4c270b27d.

Thank you for your report Ronald.

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12095
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com