
When I run the test, i got these: ... ... testShareLocal (test.test_socket.TestSocketSharing) ... skipped 'Windows specific' testTypes (test.test_socket.TestSocketSharing) ... skipped 'Windows specific' ====================================================================== ERROR: test_idna (test.test_socket.GeneralModuleTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/users/xwl/Python-3.3.0/Lib/test/test_socket.py", line 1183, in test_idna socket.gethostbyname('испытание.python.org') socket.gaierror: [Errno -3] Temporary failure in name resolution ---------------------------------------------------------------------- Ran 483 tests in 24.816s FAILED (errors=1, skipped=29) test test_socket failed make: *** [test] Error 1 Then I run the failing test manually, as the README guided: [xwl@ordosz8003 ~/Python-3.3.0]$ ./python -m test -v test_idna == CPython 3.3.0 (default, Jan 8 2013, 11:07:49) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] == Linux-2.6.18-164.el5-x86_64-with-redhat-5.4-Tikanga little-endian == /data/users/xwl/Python-3.3.0/build/test_python_17651 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1) [1/1] test_idna test test_idna crashed -- Traceback (most recent call last): File "/data/users/xwl/Python-3.3.0/Lib/test/regrtest.py", line 1213, in runtest_inner the_package = __import__(abstest, globals(), locals(), []) ImportError: No module named 'test.test_idna' 1 test failed: test_idna [xwl@ordosz8003 ~/Python-3.3.0]$ pwd /data/users/xwl/Python-3.3.0 [xwl@ordosz8003 ~/Python-3.3.0]$ Please help me to install this great software on my machine. Think you! David.Xu

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@126.com> wrote:
ImportError: No module named 'test.test_idna'
Really, there is no module test.test_idna. Look into Lib/test/ yourself. Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.

On Tue, 08 Jan 2013 16:48:41 +0400, Oleg Broytman <phd@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@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 :) --David 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.
participants (3)
-
Oleg Broytman
-
R. David Murray
-
Xu Wanglin