[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Some test fail on my new Python 2.6
From:       "R. David Murray" <rdmurray () bitdance ! com>
Date:       2009-04-06 22:20:50
Message-ID: grdv82$4re$1 () ger ! gmane ! org
[Download RAW message or body]

Sorin Schwimmer <sxn02@yahoo.com> wrote:
> I just downloaded and compiled Python 2.6 on a Gentoo Linux, IBM NetVista.
> 
> After going through the usual steps (./configure, make), I ran a test (make test), \
> and got some unexpected issues, which are detailed here: 
> # ./python Lib/test/test_tcl.py
> Traceback (most recent call last):
> File "Lib/test/test_tcl.py", line 6, in <module>
> from Tkinter import Tcl
> File "/install/Python-2.6.1/Lib/lib-tk/Tkinter.py", line 39, in <module>
> import _tkinter # If this fails your Python may not be configured for Tk
[...] 
> Anybody has a quick fix?

Yep.  Run 'make test' instead of running them one by one.  make test
will run them under regrtest, which has mechanisms for detecting tests
that are expected to or may reasonably fail on a given platform.  Then if
you still have errors, report back :)

--
R. David Murray

--
http://mail.python.org/mailman/listinfo/python-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic