Regression test test_site failed on current trunk

A

Andy

Hi,

I checked out the python trunk (curently 2.7a0), compiled it on my
linux machine and run the regression test suit. Below is the output of
the failed part:

test_site
[14871 refs]
test test_site failed -- Traceback (most recent call last):
File "/mybook/storage/python_lnx/Lib/test/test_site.py", line 105,
in test_s_option
self.assertEqual(rc, 1)
AssertionError: 0 != 1

Is this something serious.

I compiled python with:
../configure --prefix=/dev/null --with-pydebug
make -s

Further I've got problems with moving the cursor when I started python
(2.7a0). There are only esc sequences displayed. My Local installation
(2.5.2) works fine.
 
S

Steve Holden

Andy said:
Hi,

I checked out the python trunk (curently 2.7a0), compiled it on my
linux machine and run the regression test suit. Below is the output of
the failed part:

test_site
[14871 refs]
test test_site failed -- Traceback (most recent call last):
File "/mybook/storage/python_lnx/Lib/test/test_site.py", line 105,
in test_s_option
self.assertEqual(rc, 1)
AssertionError: 0 != 1

Is this something serious.
I'd say any test failure without an obvious explanation is serious
enough to report as a bug. See http://bugs.python.org/
I compiled python with:
./configure --prefix=/dev/null --with-pydebug
make -s

Further I've got problems with moving the cursor when I started python
(2.7a0). There are only esc sequences displayed. My Local installation
(2.5.2) works fine.

Do you mean you can't get previous lines in your Python command history
to show up? This sounds as though you may not have built the readline
support in to your experimental build. I can't remember exactly what the
deal is, but I know that readline is GPL licensed, so it may not come as
part of the standard distribution.

regards
Steve
 
A

Andy

Do you mean you can't get previous lines in your Python command history
to show up? This sounds as though you may not have built the readline
support in to your experimental build. I can't remember exactly what the
deal is, but I know that readline is GPL licensed, so it may not come as
part of the standard distribution.

Thanks for your reply.
I just want to move left and right with the cursor keys.
Thats it.
I installed libreadline5-dev and rerun ./configure and make
....now it works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top