[lsb-discuss] lsb-test-python failed the latest python?

Hao Liu hliu at redhat.com
Wed Aug 27 19:53:10 PDT 2008


Stew Benedict wrote:
> On Wed, 27 Aug 2008, Hao Liu wrote:
>
>   
>> Hey, guys,
>>   i'm testing lsb-test-python-3.2.0-1.noarch, there're 3 failures occured:
>>
>>     * /usr/bin/python 5 FAIL
>>     * /usr/bin/python 24 FAIL
>>     * /usr/bin/python 46 FAIL
>>
>> I looked into the source test_codecs.py:
>> from test import test_support
>>
>>     import unittest
>>     import codecs
>>     import sys, StringIO, _testcapi
>>      ...
>>      ...
>>
>> it tries to import _testcapi module, but I can't find the module on my 
>> testing machine. I tried to find tt module with 'find . -name 
>> "_testcapi.so"' in the / directory, but I found tt the module was 
>> located in:
>>
>>     ./media/_/opt/lsb/appbat/lib/python2.4/lib-dynload/_testcapi.so
>>     ./opt/lsb/appbat/lib/python2.4/lib-dynload/_testcapi.so
>>
>>     
>
> Hmm,
>
> On another distribution with 2.5.1, I do see the module:
>
> /usr/lib/python2.5/lib-dynload/_testcapi.so
> [stew at norris ~]$ rpm -qf /usr/lib/python2.5/lib-dynload/_testcapi.so
> python-2.5.1-5mdv2008.0
>
> I'll have to do some research on whats going on, whether the python folks 
> dropped this or what.
>
>   
Thank you, Stew.

All the best,
Hao Liu


More information about the lsb-discuss mailing list