[Python-checkins] Python Regression Test Failures all (7)

Neal Norwitz nnorwitz at gmail.com
Fri Dec 10 13:33:38 CET 2010


341 tests OK.
7 tests failed:
    test_robotparser test_smtpnet test_ssl test_timeout test_urllib2
    test_urllib2net test_urllibnet
33 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_epoll test_gdb test_gl
    test_imgfile test_ioctl test_kqueue test_macos test_macostools
    test_multiprocessing test_pep277 test_py3kwarn test_scriptpackages
    test_startfile test_sunaudiodev test_tcl test_tk test_ttk_guionly
    test_ttk_textonly test_unicode_file test_winreg test_winsound
    test_zipfile64
12 skips unexpected on linux2:
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_epoll test_gdb test_ioctl
    test_multiprocessing test_tk test_ttk_guionly test_ttk_textonly

== CPython 2.7 (trunk:87154M, Dec 10 2010, 04:02:07) [GCC 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)]
==   Linux-2.6.9-gentoo-r1-i686-AMD_Athlon-tm-_XP_3000+-with-gentoo-1.4.16 little-endian
==   /tmp/test_python_3008
test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_SimpleHTTPServer
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_abstract_numbers
test_aepack
test_aepack skipped -- No module named aetypes
test_aifc
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named MacOS
test_argparse
test_array
test_ascii_formatd
test_ast
test_asynchat
test_asyncore
test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
Test path prefix:  /tmp/z-test_bsddb3-3008
test_buffer
test_bufio
test_bytes
test_bz2
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd
test_cmd_line
test_cmd_line_script
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
	fetching http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml ...
test_codecmaps_cn skipped -- Could not retrieve http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml
test_codecmaps_hk
	fetching http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT ...
test_codecmaps_hk skipped -- Could not retrieve http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT
test_codecmaps_jp
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT ...
test_codecmaps_jp skipped -- Could not retrieve http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
test_codecmaps_kr
	fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT ...
test_codecmaps_kr skipped -- Could not retrieve http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT
test_codecmaps_tw
	fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ...
test_codecmaps_tw skipped -- Could not retrieve http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compileall
test_compiler
  testCompileLibrary still working, be patient...
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_cprofile
test_crypt
test_csv
test_ctypes
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dictcomps
test_dictviews
test_difflib
test_dircache
test_dis
test_distutils
[19643 refs]
test_dl
test_docxmlrpc
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_epoll
test_epoll skipped -- kernel doesn't support epoll()
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_file2k
test_filecmp
test_fileinput
test_fileio
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_fractions
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_future3
test_future4
test_future5
test_future_builtins
test_gc
test_gdb
test_gdb skipped -- gdb versions before 7.0 didn't support python embedding Saw:
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-linux-gnu".

test_gdbm
test_generators
test_genericpath
test_genexps
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_httpservers
[15648 refs]
[15648 refs]
[15648 refs]
[25315 refs]
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_importlib
test_index
test_inspect
test_int
test_int_literal
test_io
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_json
test_kqueue
test_kqueue skipped -- test works only on BSD
test_largefile
test_lib2to3
test_linecache
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macos
test_macos skipped -- No module named MacOS
test_macostools
test_macostools skipped -- No module named MacOS
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_memoryio
test_memoryview
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_multiprocessing
test_multiprocessing skipped -- This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
test_mutants
test_mutex
test_netrc
test_new
test_nis
test_normalization
	fetching http://www.unicode.org/Public/5.2.0/ucd/NormalizationTest.txt ...
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
[15648 refs]
[15648 refs]
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
test_pdb
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- only NT+ and systems with Unicode-friendly filesystem encoding
test_pep292
test_pep352
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_pkgutil
test_platform
[17044 refs]
[17044 refs]
test_plistlib
test_poll
test_popen
[15653 refs]
[15653 refs]
[15653 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_print
test_profile
test_profilehooks
test_property
test_pstats
test_pty
test_pwd
test_py3kwarn
test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
test_pyclbr
test_pydoc
[20862 refs]
[20862 refs]
[20862 refs]
[20862 refs]
[20862 refs]
[20861 refs]
[20861 refs]
test_pyexpat
test_queue
test_quopri
[18479 refs]
[18479 refs]
test_random
test_re
test_readline
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test test_robotparser failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 567, in create_connection
    raise error, msg
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

Re-running test 'test_robotparser' in verbose mode
RobotTest(1, good, /) ... ok
RobotTest(1, good, /test.html) ... ok
RobotTest(1, bad, /cyberworld/map/index.html) ... ok
RobotTest(1, bad, /tmp/xxx) ... ok
RobotTest(1, bad, /foo.html) ... ok
RobotTest(2, good, /) ... ok
RobotTest(2, good, /test.html) ... ok
RobotTest(2, good, ('cybermapper', '/cyberworld/map/index.html')) ... ok
RobotTest(2, bad, /cyberworld/map/index.html) ... ok
RobotTest(3, bad, /cyberworld/map/index.html) ... ok
RobotTest(3, bad, /) ... ok
RobotTest(3, bad, /tmp/) ... ok
RobotTest(4, bad, /tmp) ... ok
RobotTest(4, bad, /tmp.html) ... ok
RobotTest(4, bad, /tmp/a.html) ... ok
RobotTest(4, bad, /a%3cd.html) ... ok
RobotTest(4, bad, /a%3Cd.html) ... ok
RobotTest(4, bad, /a%2fb.html) ... ok
RobotTest(4, bad, /~joe/index.html) ... ok
RobotTest(5, bad, /tmp) ... ok
RobotTest(5, bad, /tmp.html) ... ok
RobotTest(5, bad, /tmp/a.html) ... ok
RobotTest(5, bad, /a%3cd.html) ... ok
RobotTest(5, bad, /a%3Cd.html) ... ok
RobotTest(5, bad, /a%2fb.html) ... ok
RobotTest(5, bad, /~joe/index.html) ... ok
RobotTest(6, good, /tmp) ... ok
RobotTest(6, bad, /tmp/) ... ok
RobotTest(6, bad, /tmp/a.html) ... ok
RobotTest(6, bad, /a%3cd.html) ... ok
RobotTest(6, bad, /a%3Cd.html) ... ok
RobotTest(6, bad, /a/b.html) ... ok
RobotTest(6, bad, /%7Ejoe/index.html) ... ok
RobotTest(7, good, /foo.html) ... ok
RobotTest(8, good, /folder1/myfile.html) ... ok
RobotTest(8, bad, /folder1/anotherfile.html) ... ok
RobotTest(9, bad, /something.jpg) ... ok
RobotTest(10, bad, /something.jpg) ... ok
RobotTest(11, bad, /something.jpg) ... ok
RobotTest(12, good, /something.jpg) ... ok
RobotTest(13, good, /folder1/myfile.html) ... ok
RobotTest(13, bad, /folder1/anotherfile.html) ... ok

----------------------------------------------------------------------
Ran 42 tests in 0.012s

OK
testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) ... skipped 'http://mueblesmoraleda.com is unavailable'
testPythonOrg (test.test_robotparser.NetworkTestCase) ... ERROR

======================================================================
ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 567, in create_connection
    raise error, msg
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

----------------------------------------------------------------------
Ran 2 tests in 398.010s

FAILED (errors=1, skipped=1)
test test_robotparser failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_robotparser.py", line 224, in testPythonOrg
    parser.read()
  File "/tmp/python-test/local/lib/python2.7/robotparser.py", line 57, in read
    f = opener.open(self.url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 567, in create_connection
    raise error, msg
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_setcomps
test_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
test_slice
test_smtplib
test_smtpnet
test test_smtpnet failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

Re-running test 'test_smtpnet' in verbose mode
test_connect (test.test_smtpnet.SmtpSSLTest) ... ERROR

======================================================================
ERROR: test_connect (test.test_smtpnet.SmtpSSLTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

----------------------------------------------------------------------
Ran 1 test in 54.950s

FAILED (errors=1)
test test_smtpnet failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_smtpnet.py", line 15, in test_connect
    server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 752, in __init__
    SMTP.__init__(self, host, port, local_hostname, timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/tmp/python-test/local/lib/python2.7/smtplib.py", line 757, in _get_socket
    new_socket = socket.create_connection((host, port), timeout)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 551, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -3] Temporary failure in name resolution

test_socket
test_socketserver
test_softspace
test_sort
test_sqlite
test_ssl
test test_ssl failed -- multiple errors occurred; run in verbose mode for details
Re-running test 'test_ssl' in verbose mode
test_DER_to_PEM (test.test_ssl.BasicTests) ... ok
test_ciphers (test.test_ssl.BasicTests) ... ERROR
test_constants (test.test_ssl.BasicTests) ... ok
test_openssl_version (test.test_ssl.BasicTests) ... ok
test_parse_cert (test.test_ssl.BasicTests) ... 
{'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
ok
test_random (test.test_ssl.BasicTests) ... 
 RAND_status is 1 (sufficient randomness)
ok
test_refcycle (test.test_ssl.BasicTests) ... ok
test_sslwrap_simple (test.test_ssl.BasicTests) ... ok
test_algorithms (test.test_ssl.NetworkedTests) ... skipped "SHA256 not available on 'OpenSSL 0.9.7d 17 Mar 2004'"
test_connect (test.test_ssl.NetworkedTests) ... ERROR
test_get_server_certificate (test.test_ssl.NetworkedTests) ... ERROR
test_makefile_close (test.test_ssl.NetworkedTests) ... ERROR
test_non_blocking_handshake (test.test_ssl.NetworkedTests) ... ERROR
test_asyncore_server (test.test_ssl.ThreadedTests)
Check the example asyncore integration. ... 
 server:  new connection from 127.0.0.1:56008
 client:  sending 'TEST MESSAGE of mixed case\n'...
 client:  read 'test message of mixed case\n'
 client:  closing connection.
 server:  closed connection <ssl.SSLSocket object at 0xb599f624>
ok
test_echo (test.test_ssl.ThreadedTests)
Basic test of an SSL client connecting to a server ... 
 server:  new connection from ('127.0.0.1', 56010)
 client:  sending 'FOO\n'...
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending bytearray(b'FOO\n')...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending <memory at 0xb5976fa4>...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  closing connection.
 server: client closed connection
ok
test_empty_cert (test.test_ssl.ThreadedTests)
Connecting with an empty cert file ... 
SSLError is _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
ok
test_getpeercert (test.test_ssl.ThreadedTests) ... 
{'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
Connection cipher is ('AES256-SHA', 'TLSv1/SSLv3', 256).
ok
test_handshake_timeout (test.test_ssl.ThreadedTests) ... ok
test_malformed_cert (test.test_ssl.ThreadedTests)
Connecting with a badly formatted certificate (syntax error) ... 
SSLError is _ssl.c:361: error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_file:PEM lib
ok
test_malformed_key (test.test_ssl.ThreadedTests)
Connecting with a badly formatted key (syntax error) ... 
SSLError is _ssl.c:347: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
ok
test_nonexisting_cert (test.test_ssl.ThreadedTests)
Connecting with a non-existing cert file ... 
SSLError is _ssl.c:499: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
ok
test_protocol_sslv2 (test.test_ssl.ThreadedTests)
Connecting to an SSLv2 server with various client options ... 
 SSLv2->SSLv2 CERT_NONE
 SSLv2->SSLv2 CERT_OPTIONAL
 SSLv2->SSLv2 CERT_REQUIRED
 SSLv23->SSLv2 CERT_NONE
 {SSLv3->SSLv2} CERT_NONE
 {TLSv1->SSLv2} CERT_NONE
ok
test_protocol_sslv23 (test.test_ssl.ThreadedTests)
Connecting to an SSLv23 server with various client options ... 
 SSLv2->SSLv23 CERT_NONE
 SSLv3->SSLv23 CERT_NONE
 SSLv23->SSLv23 CERT_NONE
 TLSv1->SSLv23 CERT_NONE
 SSLv3->SSLv23 CERT_OPTIONAL
 SSLv23->SSLv23 CERT_OPTIONAL
 TLSv1->SSLv23 CERT_OPTIONAL
 SSLv3->SSLv23 CERT_REQUIRED
 SSLv23->SSLv23 CERT_REQUIRED
 TLSv1->SSLv23 CERT_REQUIRED
ok
test_protocol_sslv3 (test.test_ssl.ThreadedTests)
Connecting to an SSLv3 server with various client options ... 
 SSLv3->SSLv3 CERT_NONE
 SSLv3->SSLv3 CERT_OPTIONAL
 SSLv3->SSLv3 CERT_REQUIRED
 {SSLv2->SSLv3} CERT_NONE
 {SSLv23->SSLv3} CERT_NONE
 {TLSv1->SSLv3} CERT_NONE
ok
test_protocol_tlsv1 (test.test_ssl.ThreadedTests)
Connecting to a TLSv1 server with various client options ... 
 TLSv1->TLSv1 CERT_NONE
 TLSv1->TLSv1 CERT_OPTIONAL
 TLSv1->TLSv1 CERT_REQUIRED
 {SSLv2->TLSv1} CERT_NONE
 {SSLv3->TLSv1} CERT_NONE
 {SSLv23->TLSv1} CERT_NONE
ok
test_recv_send (test.test_ssl.ThreadedTests)
Test recv(), send() and friends. ... 
 server:  new connection from ('127.0.0.1', 56081)
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
ok
test_rude_shutdown (test.test_ssl.ThreadedTests)
A brutal shutdown of an SSL server should raise an IOError ... ok
test_socketserver (test.test_ssl.ThreadedTests)
Using a SocketServer to create and manage SSL connections. ... 
 server (('127.0.0.1', 56084):56084 ('AES256-SHA', 'TLSv1/SSLv3', 256)):
   [10/Dec/2010 07:18:39] "GET /keycert.pem HTTP/1.0" 200 -
 client: read 1872 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:56084>>'
ok
test_starttls (test.test_ssl.ThreadedTests)
Switching from clear text to encrypted and back again. ... 
 client:  sending 'msg 1'...
 server:  new connection from ('127.0.0.1', 56087)
 server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
 client:  read 'msg 1' from server
 client:  sending 'MSG 2'...
 server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
 client:  read 'msg 2' from server
 client:  sending 'STARTTLS'...
 server: read STARTTLS from client, sending OK...
 client:  read 'OK\n' from server, starting TLS...
 client:  sending 'MSG 3'...
 server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
 client:  read 'msg 3' from server
 client:  sending 'msg 4'...
 server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
 client:  read 'msg 4' from server
 client:  sending 'ENDTLS'...
 server: read ENDTLS from client, sending OK...
 client:  read 'OK\n' from server, ending TLS...
 client:  sending 'msg 5'...
 server: connection is now unencrypted...
 server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
 client:  read 'msg 5' from server
 client:  sending 'msg 6'...
 server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
 client:  read 'msg 6' from server
 client:  closing connection.
 server: client closed connection
ok
test_wrapped_accept (test.test_ssl.ThreadedTests)
Check the accept() method on SSL sockets. ... 
 server:  wrapped server socket as <ssl.SSLSocket object at 0xb4903804>
 client:  sending 'FOO\n'...
 server:  new connection from ('127.0.0.1', 56089)
 client cert is {'notAfter': 'Feb 16 16:54:50 2013 GMT',
 'subject': ((('countryName', u'US'),),
             (('stateOrProvinceName', u'Delaware'),),
             (('localityName', u'Wilmington'),),
             (('organizationName', u'Python Software Foundation'),),
             (('organizationalUnitName', u'SSL'),),
             (('commonName', u'somemachine.python.org'),))}
 cert binary is 683 bytes
 server: connection cipher is now ('AES256-SHA', 'TLSv1/SSLv3', 256)
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending bytearray(b'FOO\n')...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  sending <memory at 0xb5976fa4>...
 server: read 'FOO\n' (encrypted), sending back 'foo\n' (encrypted)...
 client:  read 'foo\n'
 client:  closing connection.
 server: client closed connection
ok

======================================================================
ERROR: test_ciphers (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 133, in test_ciphers
    s.connect(remote)
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

======================================================================
ERROR: test_connect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 160, in test_connect
    s.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

======================================================================
ERROR: test_get_server_certificate (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 229, in test_get_server_certificate
    pem = ssl.get_server_certificate(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 403, in get_server_certificate
    s.connect(addr)
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

======================================================================
ERROR: test_makefile_close (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 191, in test_makefile_close
    ss.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/ssl.py", line 292, in connect
    socket.connect(self, addr)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

======================================================================
ERROR: test_non_blocking_handshake (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_ssl.py", line 206, in test_non_blocking_handshake
    s.connect(("svn.python.org", 443))
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

----------------------------------------------------------------------
Ran 30 tests in 2.476s

FAILED (errors=5, skipped=1)
test test_ssl failed -- multiple errors occurred
test_startfile
test_startfile skipped -- module os has no attribute startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_strtod
test_struct
test_structmembers
test_structseq
test_subprocess
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
.
[15648 refs]
[15648 refs]
    this bit of output is from a test of stdout in a different process ...
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15863 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
[15648 refs]
.
[15648 refs]
[15648 refs]
    this bit of output is from a test of stdout in a different process ...
[15648 refs]
[15648 refs]
[15863 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
test_sys
[15648 refs]
[15648 refs]
[15648 refs]
[15877 refs]
[15671 refs]
test_sysconfig
[15648 refs]
[15648 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[15648 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
[18948 refs]
[20223 refs]
[20035 refs]
[20035 refs]
[20035 refs]
[20035 refs]
test_threading_local
test_threadsignals
test_time
test_timeout
test test_timeout failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_timeout.py", line 133, in testRecvTimeout
    self.sock.connect(self.addr_remote)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 110] Connection timed out

Re-running test 'test_timeout' in verbose mode
testBlockingThenTimeout (test.test_timeout.CreationTestCase) ... ok
testFloatReturnValue (test.test_timeout.CreationTestCase) ... ok
testObjectCreation (test.test_timeout.CreationTestCase) ... ok
testRangeCheck (test.test_timeout.CreationTestCase) ... ok
testReturnType (test.test_timeout.CreationTestCase) ... ok
testTimeoutThenBlocking (test.test_timeout.CreationTestCase) ... ok
testTypeCheck (test.test_timeout.CreationTestCase) ... ok
testAcceptTimeout (test.test_timeout.TimeoutTestCase) ... ok
testConnectTimeout (test.test_timeout.TimeoutTestCase) ... ok
testRecvTimeout (test.test_timeout.TimeoutTestCase) ... ERROR
testRecvfromTimeout (test.test_timeout.TimeoutTestCase) ... ok
testSend (test.test_timeout.TimeoutTestCase) ... ok
testSendall (test.test_timeout.TimeoutTestCase) ... ok
testSendto (test.test_timeout.TimeoutTestCase) ... ok

======================================================================
ERROR: testRecvTimeout (test.test_timeout.TimeoutTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_timeout.py", line 133, in testRecvTimeout
    self.sock.connect(self.addr_remote)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

----------------------------------------------------------------------
Ran 14 tests in 4.044s

FAILED (errors=1)
test test_timeout failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_timeout.py", line 133, in testRecvTimeout
    self.sock.connect(self.addr_remote)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 222, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 113] No route to host

test_tk
test_tk skipped -- No module named _tkinter
test_tokenize
test_trace
test_traceback
test_transformer
test_ttk_guionly
test_ttk_guionly skipped -- No module named _tkinter
test_ttk_textonly
test_ttk_textonly skipped -- No module named _tkinter
test_tuple
test_typechecks
test_ucn
test_unary
test_undocumented_details
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_univnewlines2k
test_unpack
test_urllib
test_urllib2
test test_urllib2 failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2.py", line 711, in test_file
    h.file_open, Request(url))
  File "/tmp/python-test/local/lib/python2.7/unittest/case.py", line 456, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1269, in file_open
    return self.open_local_file(req)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1301, in open_local_file
    (not port and socket.gethostbyname(host) in self.get_names()):
gaierror: [Errno -2] Name or service not known

Re-running test 'test_urllib2' in verbose mode
Trying:
    mgr = urllib2.HTTPPasswordMgr()
Expecting nothing
ok
Trying:
    add = mgr.add_password
Expecting nothing
ok
Trying:
    add("Some Realm", "http://example.com/", "joe", "password")
Expecting nothing
ok
Trying:
    add("Some Realm", "http://example.com/ni", "ni", "ni")
Expecting nothing
ok
Trying:
    add("c", "http://example.com/foo", "foo", "ni")
Expecting nothing
ok
Trying:
    add("c", "http://example.com/bar", "bar", "nini")
Expecting nothing
ok
Trying:
    add("b", "http://example.com/", "first", "blah")
Expecting nothing
ok
Trying:
    add("b", "http://example.com/", "second", "spam")
Expecting nothing
ok
Trying:
    add("a", "http://example.com", "1", "a")
Expecting nothing
ok
Trying:
    add("Some Realm", "http://c.example.com:3128", "3", "c")
Expecting nothing
ok
Trying:
    add("Some Realm", "d.example.com", "4", "d")
Expecting nothing
ok
Trying:
    add("Some Realm", "e.example.com:3128", "5", "e")
Expecting nothing
ok
Trying:
    mgr.find_user_password("Some Realm", "example.com")
Expecting:
    ('joe', 'password')
ok
Trying:
    mgr.find_user_password("Some Realm", "http://example.com")
Expecting:
    ('joe', 'password')
ok
Trying:
    mgr.find_user_password("Some Realm", "http://example.com/")
Expecting:
    ('joe', 'password')
ok
Trying:
    mgr.find_user_password("Some Realm", "http://example.com/spam")
Expecting:
    ('joe', 'password')
ok
Trying:
    mgr.find_user_password("Some Realm", "http://example.com/spam/spam")
Expecting:
    ('joe', 'password')
ok
Trying:
    mgr.find_user_password("c", "http://example.com/foo")
Expecting:
    ('foo', 'ni')
ok
Trying:
    mgr.find_user_password("c", "http://example.com/bar")
Expecting:
    ('bar', 'nini')
ok
Trying:
    mgr.find_user_password("b", "http://example.com/")
Expecting:
    ('second', 'spam')
ok
Trying:
    mgr.find_user_password("a", "http://example.com/")
Expecting:
    ('1', 'a')
ok
Trying:
    mgr.find_user_password("a", "http://a.example.com/")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("Some Realm", "c.example.com")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("Some Realm", "c.example.com:3128")
Expecting:
    ('3', 'c')
ok
Trying:
    mgr.find_user_password("Some Realm", "http://c.example.com:3128")
Expecting:
    ('3', 'c')
ok
Trying:
    mgr.find_user_password("Some Realm", "d.example.com")
Expecting:
    ('4', 'd')
ok
Trying:
    mgr.find_user_password("Some Realm", "e.example.com:3128")
Expecting:
    ('5', 'e')
ok
Trying:
    mgr = urllib2.HTTPPasswordMgr()
Expecting nothing
ok
Trying:
    add = mgr.add_password
Expecting nothing
ok
Trying:
    add("f", "http://g.example.com:80", "10", "j")
Expecting nothing
ok
Trying:
    add("g", "http://h.example.com", "11", "k")
Expecting nothing
ok
Trying:
    add("h", "i.example.com:80", "12", "l")
Expecting nothing
ok
Trying:
    add("i", "j.example.com", "13", "m")
Expecting nothing
ok
Trying:
    mgr.find_user_password("f", "g.example.com:100")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("f", "g.example.com:80")
Expecting:
    ('10', 'j')
ok
Trying:
    mgr.find_user_password("f", "g.example.com")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("f", "http://g.example.com:100")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("f", "http://g.example.com:80")
Expecting:
    ('10', 'j')
ok
Trying:
    mgr.find_user_password("f", "http://g.example.com")
Expecting:
    ('10', 'j')
ok
Trying:
    mgr.find_user_password("g", "h.example.com")
Expecting:
    ('11', 'k')
ok
Trying:
    mgr.find_user_password("g", "h.example.com:80")
Expecting:
    ('11', 'k')
ok
Trying:
    mgr.find_user_password("g", "http://h.example.com:80")
Expecting:
    ('11', 'k')
ok
Trying:
    mgr.find_user_password("h", "i.example.com")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("h", "i.example.com:80")
Expecting:
    ('12', 'l')
ok
Trying:
    mgr.find_user_password("h", "http://i.example.com:80")
Expecting:
    ('12', 'l')
ok
Trying:
    mgr.find_user_password("i", "j.example.com")
Expecting:
    ('13', 'm')
ok
Trying:
    mgr.find_user_password("i", "j.example.com:80")
Expecting:
    (None, None)
ok
Trying:
    mgr.find_user_password("i", "http://j.example.com")
Expecting:
    ('13', 'm')
ok
Trying:
    mgr.find_user_password("i", "http://j.example.com:80")
Expecting:
    (None, None)
ok
Trying:
    url = "http://example.com"
Expecting nothing
ok
Trying:
    Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"]
Expecting:
    'blah'
ok
Trying:
    Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"]
Expecting:
    'blah'
ok
Trying:
    url = "http://example.com"
Expecting nothing
ok
Trying:
    r = Request(url, headers={"Spam-eggs": "blah"})
Expecting nothing
ok
Trying:
    r.has_header("Spam-eggs")
Expecting:
    True
ok
Trying:
    r.header_items()
Expecting:
    [('Spam-eggs', 'blah')]
ok
Trying:
    r.add_header("Foo-Bar", "baz")
Expecting nothing
ok
Trying:
    items = r.header_items()
Expecting nothing
ok
Trying:
    items.sort()
Expecting nothing
ok
Trying:
    items
Expecting:
    [('Foo-bar', 'baz'), ('Spam-eggs', 'blah')]
ok
Trying:
    r.has_header("Not-there")
Expecting:
    False
ok
Trying:
    print r.get_header("Not-there")
Expecting:
    None
ok
Trying:
    r.get_header("Not-there", "default")
Expecting:
    'default'
ok
93 items had no tests:
    test.test_urllib2
    test.test_urllib2.FakeMethod
    test.test_urllib2.FakeMethod.__call__
    test.test_urllib2.FakeMethod.__init__
    test.test_urllib2.HandlerTests
    test.test_urllib2.HandlerTests._test_basic_auth
    test.test_urllib2.HandlerTests.test_basic_and_digest_auth_handlers
    test.test_urllib2.HandlerTests.test_basic_auth
    test.test_urllib2.HandlerTests.test_basic_auth_with_single_quoted_realm
    test.test_urllib2.HandlerTests.test_cookie_redirect
    test.test_urllib2.HandlerTests.test_cookies
    test.test_urllib2.HandlerTests.test_errors
    test.test_urllib2.HandlerTests.test_file
    test.test_urllib2.HandlerTests.test_ftp
    test.test_urllib2.HandlerTests.test_http
    test.test_urllib2.HandlerTests.test_http_doubleslash
    test.test_urllib2.HandlerTests.test_proxy
    test.test_urllib2.HandlerTests.test_proxy_basic_auth
    test.test_urllib2.HandlerTests.test_proxy_https
    test.test_urllib2.HandlerTests.test_proxy_https_proxy_authorization
    test.test_urllib2.HandlerTests.test_proxy_no_proxy
    test.test_urllib2.HandlerTests.test_redirect
    test.test_urllib2.MiscTests
    test.test_urllib2.MiscTests.opener_has_handler
    test.test_urllib2.MiscTests.test_build_opener
    test.test_urllib2.MockCookieJar
    test.test_urllib2.MockCookieJar.add_cookie_header
    test.test_urllib2.MockCookieJar.extract_cookies
    test.test_urllib2.MockFile
    test.test_urllib2.MockFile.close
    test.test_urllib2.MockFile.read
    test.test_urllib2.MockFile.readline
    test.test_urllib2.MockHTTPClass
    test.test_urllib2.MockHTTPClass.__call__
    test.test_urllib2.MockHTTPClass.__init__
    test.test_urllib2.MockHTTPClass.getresponse
    test.test_urllib2.MockHTTPClass.request
    test.test_urllib2.MockHTTPClass.set_debuglevel
    test.test_urllib2.MockHTTPClass.set_tunnel
    test.test_urllib2.MockHTTPHandler
    test.test_urllib2.MockHTTPHandler.__init__
    test.test_urllib2.MockHTTPHandler.http_open
    test.test_urllib2.MockHTTPHandler.reset
    test.test_urllib2.MockHTTPResponse
    test.test_urllib2.MockHTTPResponse.__init__
    test.test_urllib2.MockHTTPResponse.read
    test.test_urllib2.MockHTTPSHandler
    test.test_urllib2.MockHTTPSHandler.__init__
    test.test_urllib2.MockHTTPSHandler.https_open
    test.test_urllib2.MockHandler
    test.test_urllib2.MockHandler.__init__
    test.test_urllib2.MockHandler.__lt__
    test.test_urllib2.MockHandler._define_methods
    test.test_urllib2.MockHandler.add_parent
    test.test_urllib2.MockHandler.close
    test.test_urllib2.MockHandler.handle
    test.test_urllib2.MockHeaders
    test.test_urllib2.MockHeaders.getheaders
    test.test_urllib2.MockOpener
    test.test_urllib2.MockOpener.error
    test.test_urllib2.MockOpener.open
    test.test_urllib2.MockPasswordManager
    test.test_urllib2.MockPasswordManager.add_password
    test.test_urllib2.MockPasswordManager.find_user_password
    test.test_urllib2.MockResponse
    test.test_urllib2.MockResponse.__init__
    test.test_urllib2.MockResponse.geturl
    test.test_urllib2.MockResponse.info
    test.test_urllib2.OpenerDirectorTests
    test.test_urllib2.OpenerDirectorTests.test_add_non_handler
    test.test_urllib2.OpenerDirectorTests.test_badly_named_methods
    test.test_urllib2.OpenerDirectorTests.test_handled
    test.test_urllib2.OpenerDirectorTests.test_handler_order
    test.test_urllib2.OpenerDirectorTests.test_http_error
    test.test_urllib2.OpenerDirectorTests.test_processors
    test.test_urllib2.OpenerDirectorTests.test_raise
    test.test_urllib2.RequestTests
    test.test_urllib2.RequestTests.setUp
    test.test_urllib2.RequestTests.test_add_data
    test.test_urllib2.RequestTests.test_get_full_url
    test.test_urllib2.RequestTests.test_get_host
    test.test_urllib2.RequestTests.test_get_host_unquote
    test.test_urllib2.RequestTests.test_get_type
    test.test_urllib2.RequestTests.test_method
    test.test_urllib2.RequestTests.test_proxy
    test.test_urllib2.RequestTests.test_selector
    test.test_urllib2.TrivialTests
    test.test_urllib2.TrivialTests.test_parse_http_list
    test.test_urllib2.TrivialTests.test_trivial
    test.test_urllib2.add_ordered_mock_handlers
    test.test_urllib2.build_test_opener
    test.test_urllib2.sanepathname2url
    test.test_urllib2.test_main
4 items passed all tests:
  27 tests in test.test_urllib2.test_password_manager
  22 tests in test.test_urllib2.test_password_manager_default_port
   3 tests in test.test_urllib2.test_request_headers_dict
  11 tests in test.test_urllib2.test_request_headers_methods
63 tests in 97 items.
63 passed and 0 failed.
Test passed.
doctest (test.test_urllib2) ... 63 tests with zero failures
Trying:
    _parse_proxy('file:/ftp.example.com/')
Expecting:
    Traceback (most recent call last):
    ValueError: proxy URL with no authority: 'file:/ftp.example.com/'
ok
Trying:
    _parse_proxy('proxy.example.com')
Expecting:
    (None, None, None, 'proxy.example.com')
ok
Trying:
    _parse_proxy('proxy.example.com:3128')
Expecting:
    (None, None, None, 'proxy.example.com:3128')
ok
Trying:
    _parse_proxy('joe:password at proxy.example.com')
Expecting:
    (None, 'joe', 'password', 'proxy.example.com')
ok
Trying:
    _parse_proxy('joe:password at proxy.example.com:3128')
Expecting:
    (None, 'joe', 'password', 'proxy.example.com:3128')
ok
Trying:
    _parse_proxy('http://proxy.example.com/')
Expecting:
    ('http', None, None, 'proxy.example.com')
ok
Trying:
    _parse_proxy('http://proxy.example.com:3128/')
Expecting:
    ('http', None, None, 'proxy.example.com:3128')
ok
Trying:
    _parse_proxy('http://joe:password@proxy.example.com/')
Expecting:
    ('http', 'joe', 'password', 'proxy.example.com')
ok
Trying:
    _parse_proxy('http://joe:password@proxy.example.com:3128')
Expecting:
    ('http', 'joe', 'password', 'proxy.example.com:3128')
ok
Trying:
    _parse_proxy('ftp://joe:password@proxy.example.com/rubbish:3128')
Expecting:
    ('ftp', 'joe', 'password', 'proxy.example.com')
ok
Trying:
    _parse_proxy('http://joe:password@proxy.example.com')
Expecting:
    ('http', 'joe', 'password', 'proxy.example.com')
ok
113 items had no tests:
    urllib2
    urllib2.AbstractBasicAuthHandler
    urllib2.AbstractBasicAuthHandler.__init__
    urllib2.AbstractBasicAuthHandler.http_error_auth_reqed
    urllib2.AbstractBasicAuthHandler.retry_http_basic_auth
    urllib2.AbstractDigestAuthHandler
    urllib2.AbstractDigestAuthHandler.__init__
    urllib2.AbstractDigestAuthHandler.get_algorithm_impls
    urllib2.AbstractDigestAuthHandler.get_authorization
    urllib2.AbstractDigestAuthHandler.get_cnonce
    urllib2.AbstractDigestAuthHandler.get_entity_digest
    urllib2.AbstractDigestAuthHandler.http_error_auth_reqed
    urllib2.AbstractDigestAuthHandler.reset_retry_count
    urllib2.AbstractDigestAuthHandler.retry_http_digest_auth
    urllib2.AbstractHTTPHandler
    urllib2.AbstractHTTPHandler.__init__
    urllib2.AbstractHTTPHandler.do_open
    urllib2.AbstractHTTPHandler.do_request_
    urllib2.AbstractHTTPHandler.set_http_debuglevel
    urllib2.BaseHandler
    urllib2.BaseHandler.__lt__
    urllib2.BaseHandler.add_parent
    urllib2.BaseHandler.close
    urllib2.CacheFTPHandler
    urllib2.CacheFTPHandler.__init__
    urllib2.CacheFTPHandler.check_cache
    urllib2.CacheFTPHandler.connect_ftp
    urllib2.CacheFTPHandler.setMaxConns
    urllib2.CacheFTPHandler.setTimeout
    urllib2.FTPHandler
    urllib2.FTPHandler.connect_ftp
    urllib2.FTPHandler.ftp_open
    urllib2.FileHandler
    urllib2.FileHandler.file_open
    urllib2.FileHandler.get_names
    urllib2.FileHandler.open_local_file
    urllib2.HTTPBasicAuthHandler
    urllib2.HTTPBasicAuthHandler.http_error_401
    urllib2.HTTPCookieProcessor
    urllib2.HTTPCookieProcessor.__init__
    urllib2.HTTPCookieProcessor.http_request
    urllib2.HTTPCookieProcessor.https_response
    urllib2.HTTPDefaultErrorHandler
    urllib2.HTTPDefaultErrorHandler.http_error_default
    urllib2.HTTPDigestAuthHandler
    urllib2.HTTPDigestAuthHandler.http_error_401
    urllib2.HTTPError
    urllib2.HTTPError.__init__
    urllib2.HTTPError.__str__
    urllib2.HTTPErrorProcessor
    urllib2.HTTPErrorProcessor.https_response
    urllib2.HTTPHandler
    urllib2.HTTPHandler.http_open
    urllib2.HTTPPasswordMgr
    urllib2.HTTPPasswordMgr.__init__
    urllib2.HTTPPasswordMgr.add_password
    urllib2.HTTPPasswordMgr.find_user_password
    urllib2.HTTPPasswordMgr.is_suburi
    urllib2.HTTPPasswordMgr.reduce_uri
    urllib2.HTTPPasswordMgrWithDefaultRealm
    urllib2.HTTPPasswordMgrWithDefaultRealm.find_user_password
    urllib2.HTTPRedirectHandler
    urllib2.HTTPRedirectHandler.http_error_307
    urllib2.HTTPRedirectHandler.redirect_request
    urllib2.HTTPSHandler
    urllib2.HTTPSHandler.https_open
    urllib2.OpenerDirector
    urllib2.OpenerDirector.__init__
    urllib2.OpenerDirector._call_chain
    urllib2.OpenerDirector._open
    urllib2.OpenerDirector.add_handler
    urllib2.OpenerDirector.close
    urllib2.OpenerDirector.error
    urllib2.OpenerDirector.open
    urllib2.ProxyBasicAuthHandler
    urllib2.ProxyBasicAuthHandler.http_error_407
    urllib2.ProxyDigestAuthHandler
    urllib2.ProxyDigestAuthHandler.http_error_407
    urllib2.ProxyHandler
    urllib2.ProxyHandler.__init__
    urllib2.ProxyHandler.proxy_open
    urllib2.Request
    urllib2.Request.__getattr__
    urllib2.Request.__init__
    urllib2.Request.add_data
    urllib2.Request.add_header
    urllib2.Request.add_unredirected_header
    urllib2.Request.get_data
    urllib2.Request.get_full_url
    urllib2.Request.get_header
    urllib2.Request.get_host
    urllib2.Request.get_method
    urllib2.Request.get_origin_req_host
    urllib2.Request.get_selector
    urllib2.Request.get_type
    urllib2.Request.has_data
    urllib2.Request.has_header
    urllib2.Request.has_proxy
    urllib2.Request.header_items
    urllib2.Request.is_unverifiable
    urllib2.Request.set_proxy
    urllib2.URLError
    urllib2.URLError.__init__
    urllib2.URLError.__str__
    urllib2.UnknownHandler
    urllib2.UnknownHandler.unknown_open
    urllib2.build_opener
    urllib2.install_opener
    urllib2.parse_http_list
    urllib2.parse_keqv_list
    urllib2.randombytes
    urllib2.request_host
    urllib2.urlopen
1 items passed all tests:
  11 tests in urllib2._parse_proxy
11 tests in 114 items.
11 passed and 0 failed.
Test passed.
doctest (urllib2) ... 11 tests with zero failures
test_parse_http_list (test.test_urllib2.TrivialTests) ... ok
test_trivial (test.test_urllib2.TrivialTests) ... ok
test_add_non_handler (test.test_urllib2.OpenerDirectorTests) ... ok
test_badly_named_methods (test.test_urllib2.OpenerDirectorTests) ... ok
test_handled (test.test_urllib2.OpenerDirectorTests) ... ok
test_handler_order (test.test_urllib2.OpenerDirectorTests) ... ok
test_http_error (test.test_urllib2.OpenerDirectorTests) ... ok
test_processors (test.test_urllib2.OpenerDirectorTests) ... ok
test_raise (test.test_urllib2.OpenerDirectorTests) ... ok
test_basic_and_digest_auth_handlers (test.test_urllib2.HandlerTests) ... ok
test_basic_auth (test.test_urllib2.HandlerTests) ... ok
test_basic_auth_with_single_quoted_realm (test.test_urllib2.HandlerTests) ... ok
test_cookie_redirect (test.test_urllib2.HandlerTests) ... ok
test_cookies (test.test_urllib2.HandlerTests) ... ok
test_errors (test.test_urllib2.HandlerTests) ... ok
test_file (test.test_urllib2.HandlerTests) ... ERROR
test_ftp (test.test_urllib2.HandlerTests) ... ok
test_http (test.test_urllib2.HandlerTests) ... ok
test_http_doubleslash (test.test_urllib2.HandlerTests) ... ok
test_proxy (test.test_urllib2.HandlerTests) ... ok
test_proxy_basic_auth (test.test_urllib2.HandlerTests) ... ok
test_proxy_https (test.test_urllib2.HandlerTests) ... ok
test_proxy_https_proxy_authorization (test.test_urllib2.HandlerTests) ... ok
test_proxy_no_proxy (test.test_urllib2.HandlerTests) ... ok
test_redirect (test.test_urllib2.HandlerTests) ... ok
test_build_opener (test.test_urllib2.MiscTests) ... ok
test_add_data (test.test_urllib2.RequestTests) ... ok
test_get_full_url (test.test_urllib2.RequestTests) ... ok
test_get_host (test.test_urllib2.RequestTests) ... ok
test_get_host_unquote (test.test_urllib2.RequestTests) ... ok
test_get_type (test.test_urllib2.RequestTests) ... ok
test_method (test.test_urllib2.RequestTests) ... ok
test_proxy (test.test_urllib2.RequestTests) ... ok
test_selector (test.test_urllib2.RequestTests) ... ok

======================================================================
ERROR: test_file (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2.py", line 711, in test_file
    h.file_open, Request(url))
  File "/tmp/python-test/local/lib/python2.7/unittest/case.py", line 456, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1269, in file_open
    return self.open_local_file(req)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1301, in open_local_file
    (not port and socket.gethostbyname(host) in self.get_names()):
gaierror: [Errno -2] Name or service not known

----------------------------------------------------------------------
Ran 34 tests in 0.334s

FAILED (errors=1)
test test_urllib2 failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2.py", line 711, in test_file
    h.file_open, Request(url))
  File "/tmp/python-test/local/lib/python2.7/unittest/case.py", line 456, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1269, in file_open
    return self.open_local_file(req)
  File "/tmp/python-test/local/lib/python2.7/urllib2.py", line 1301, in open_local_file
    (not port and socket.gethostbyname(host) in self.get_names()):
gaierror: [Errno -2] Name or service not known

test_urllib2_localnet
test_urllib2net
test test_urllib2net failed -- multiple errors occurred; run in verbose mode for details
Re-running test 'test_urllib2net' in verbose mode
test_file (test.test_urllib2net.OtherNetworkTests) ... ok
test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok
test_close (test.test_urllib2net.CloseSocketTest) ... ERROR
test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_http_basic (test.test_urllib2net.TimeoutTest) ... ERROR
test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
test_http_timeout (test.test_urllib2net.TimeoutTest) ... ERROR

======================================================================
ERROR: test_close (test.test_urllib2net.CloseSocketTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 83, in test_close
    response = _urlopen_with_retry("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno 97] Address family not supported by protocol>

======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 239, in test_ftp_basic
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno -2] Name or service not known>

======================================================================
ERROR: test_ftp_default_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 246, in test_ftp_default_timeout
    u = _urlopen_with_retry(self.FTP_HOST)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno -2] Name or service not known>

======================================================================
ERROR: test_ftp_no_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 255, in test_ftp_no_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=None)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno -2] Name or service not known>

======================================================================
ERROR: test_ftp_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 261, in test_ftp_timeout
    u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno -2] Name or service not known>

======================================================================
ERROR: test_http_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 210, in test_http_basic
    u = _urlopen_with_retry("http://www.python.org")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno 97] Address family not supported by protocol>

======================================================================
ERROR: test_http_default_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 217, in test_http_default_timeout
    u = _urlopen_with_retry("http://www.python.org")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno 97] Address family not supported by protocol>

======================================================================
ERROR: test_http_no_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 226, in test_http_no_timeout
    u = _urlopen_with_retry("http://www.python.org", timeout=None)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno 97] Address family not supported by protocol>

======================================================================
ERROR: test_http_timeout (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 232, in test_http_timeout
    u = _urlopen_with_retry("http://www.python.org", timeout=120)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 27, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllib2net.py", line 23, in _retry_thrice
    raise last_exc
URLError: <urlopen error [Errno 97] Address family not supported by protocol>

----------------------------------------------------------------------
Ran 11 tests in 36.631s

FAILED (errors=9)
test test_urllib2net failed -- multiple errors occurred
test_urllibnet
test test_urllibnet failed -- multiple errors occurred; run in verbose mode for details
Re-running test 'test_urllibnet' in verbose mode
testURLread (test.test_urllibnet.URLTimeoutTest) ... ERROR
test_bad_address (test.test_urllibnet.urlopenNetworkTests) ... ok
test_basic (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_fileno (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_getcode (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_geturl (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_info (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_readlines (test.test_urllibnet.urlopenNetworkTests) ... ERROR
test_basic (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
test_data_header (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
test_header (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR

======================================================================
ERROR: testURLread (test.test_urllibnet.URLTimeoutTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 39, in testURLread
    f = _open_with_retry(urllib.urlopen, "http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_basic (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 62, in test_basic
    open_url = self.urlopen("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 58, in urlopen
    return _open_with_retry(urllib.urlopen, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_fileno (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 122, in test_fileno
    open_url = self.urlopen("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 58, in urlopen
    return _open_with_retry(urllib.urlopen, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_getcode (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 108, in test_getcode
    open_url = urllib.FancyURLopener().open(URL)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 205, in open
    return getattr(self, name)(url)
  File "/tmp/python-test/local/lib/python2.7/urllib.py", line 342, in open_http
    h.endheaders(data)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/tmp/python-test/local/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/tmp/python-test/local/lib/python2.7/socket.py", line 567, in create_connection
    raise error, msg
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_geturl (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 98, in test_geturl
    open_url = self.urlopen(URL)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 58, in urlopen
    return _open_with_retry(urllib.urlopen, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_info (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 85, in test_info
    open_url = self.urlopen("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 58, in urlopen
    return _open_with_retry(urllib.urlopen, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_readlines (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 74, in test_readlines
    open_url = self.urlopen("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 58, in urlopen
    return _open_with_retry(urllib.urlopen, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_basic (test.test_urllibnet.urlretrieveNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 152, in test_basic
    file_location,info = self.urlretrieve("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 148, in urlretrieve
    return _open_with_retry(urllib.urlretrieve, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_data_header (test.test_urllibnet.urlretrieveNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 185, in test_data_header
    file_location, fileheaders = self.urlretrieve(logo)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 148, in urlretrieve
    return _open_with_retry(urllib.urlretrieve, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_header (test.test_urllibnet.urlretrieveNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 178, in test_header
    file_location, header = self.urlretrieve("http://www.python.org/")
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 148, in urlretrieve
    return _open_with_retry(urllib.urlretrieve, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

======================================================================
ERROR: test_specified_path (test.test_urllibnet.urlretrieveNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 166, in test_specified_path
    test_support.TESTFN)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 148, in urlretrieve
    return _open_with_retry(urllib.urlretrieve, *args)
  File "/tmp/python-test/local/lib/python2.7/test/test_urllibnet.py", line 25, in _open_with_retry
    raise last_exc
IOError: [Errno socket error] [Errno 97] Address family not supported by protocol

----------------------------------------------------------------------
Ran 12 tests in 1.342s

FAILED (errors=11)
test test_urllibnet failed -- multiple errors occurred
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_uuid
test_wait3
test_wait4
test_warnings
[15679 refs]
[15679 refs]
[15672 refs]
[15679 refs]
[15679 refs]
[15672 refs]
test_wave
test_weakref
test_weakset
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
sh: line 1: python2.4: command not found
sh: line 1: python2.6: command not found
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zipimport_support
test_zlib
341 tests OK.
7 tests failed:
    test_robotparser test_smtpnet test_ssl test_timeout test_urllib2
    test_urllib2net test_urllibnet
33 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_cd test_cl
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_epoll test_gdb test_gl
    test_imgfile test_ioctl test_kqueue test_macos test_macostools
    test_multiprocessing test_pep277 test_py3kwarn test_scriptpackages
    test_startfile test_sunaudiodev test_tcl test_tk test_ttk_guionly
    test_ttk_textonly test_unicode_file test_winreg test_winsound
    test_zipfile64
12 skips unexpected on linux2:
    test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
    test_codecmaps_kr test_codecmaps_tw test_epoll test_gdb test_ioctl
    test_multiprocessing test_tk test_ttk_guionly test_ttk_textonly
[984052 refs]


More information about the Python-checkins mailing list