[Python-Dev] make test

R. David Murray rdmurray at bitdance.com
Tue Jan 8 14:19:30 CET 2013

On Tue, 08 Jan 2013 16:48:41 +0400, Oleg Broytman <phd at phdru.name> wrote:
> Hello.
>    We are sorry but we cannot help you. This mailing list is to work on
> developing Python (adding new features to Python itself and fixing bugs);
> if you're having problems learning, understanding or using Python, please
> find another forum. Probably python-list/comp.lang.python mailing list/news
> group is the best place; there are Python developers who participate in it;
> you may get a faster, and probably more complete, answer there. See
> http://www.python.org/community/ for other lists/news groups/fora. Thank
> you for understanding.
> On Tue, Jan 08, 2013 at 11:21:34AM +0800, Xu Wanglin <xwl0765 at 126.com> wrote:
> > ImportError: No module named 'test.test_idna'
>    Really, there is no module test.test_idna. Look into Lib/test/ yourself.

Xu's confusion arises from the fact that the test is named test_idna,
but that is actually the name of the test *within* the test file that
is named to the right of that name in the unittest output.

There is a bug in the issue tracker for having unittest print out the
complete path to the individual test in a cut-and-pasteable fashion.
Perhaps someone will be motivated to work on a fix :)


PS: as long as I'm writing this, Xu, that error you got looks like a
transient error possibly caused by your local name server...if that is
the only failure you got, your Python is working perfectly fine and you
can go ahead and install/use it.  But as Oleg said, you will get much
better and faster help for this kind of question from python-list.

More information about the Python-Dev mailing list