2010-10-19 11:34:11 Julien Jehannet napisał(a):
> > * Arfrever Frehtes Taifersar Arahesis <[email protected]> [17-oct-2010 
> > 00:34]:
> > 2010-09-30 12:04:14 Julien Jehannet napisał(a):
> > > > * Julien Jehannet <[email protected]> [29-sep-2010 18:37]:
> > > > > * Arfrever Frehtes Taifersar Arahesis <[email protected]> 
> > > > > [29-sep-2010 09:16]:
> > > > > logilab-common 0.52.0 fails some tests:
> > > > >   (...)
> > > 
> > > Can you provide the exact command-line ? Because I'm not sure the isatty
> > > condition is enough here.
> > 
> > The problem seems to also be related to type of terminal.
> > 
> > I have installed logilab-common-0.52.1 into 
> > "/tmp/logilab-common-0.52.1_installation_root"
> > and changed current directory to 
> > "/tmp/logilab-common-0.52.1_installation_root/usr/lib64/python2.6/site-packages/logilab/common".
> > If I directly run test/unittest_testlib.py (without any redirection) in 
> > /dev/tty1,
> > then all tests pass. In Konsole, the following error occurs:
> > 
> > $ PYTHONPATH=../.. python2.6 test/unittest_testlib.py
> > ...................F.............................................................S......................
> > AssertionError: '\x1b[?1034hbar' != 'bar'
> 
> No problem here with Konsole:
> 
>       Qt: 4.6.3
>       KDE Development Platform: 4.4.5 (KDE 4.4.5)
>       Konsole: 2.4.5
> 
> Maybe it's only related to a weird (x)term issue.. Not sure but try to
> preprend your command line as followѕ:
> 
>       TERM=linux PYTHONPATH=../.. python2.6 test/unittest_testlib.py

This test passes with TERM=linux and fails with TERM=xterm.

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to