running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers Python build finished successfully! The necessary bits to build these optional modules were not found: _bz2 _curses _curses_panel _lzma _ssl _tkinter readline zlib To find the necessary bits, look in setup.py in detect_modules() for the module's name. running build_scripts copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/pydoc3 -> build/scripts-3.4 copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/idle3 -> build/scripts-3.4 copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/2to3 -> build/scripts-3.4 copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/pyvenv -> build/scripts-3.4 changing mode of build/scripts-3.4/pydoc3 from 664 to 775 changing mode of build/scripts-3.4/idle3 from 664 to 775 changing mode of build/scripts-3.4/2to3 from 664 to 775 changing mode of build/scripts-3.4/pyvenv from 664 to 775 renaming build/scripts-3.4/pydoc3 to build/scripts-3.4/pydoc3.4 renaming build/scripts-3.4/idle3 to build/scripts-3.4/idle3.4 renaming build/scripts-3.4/2to3 to build/scripts-3.4/2to3-3.4 renaming build/scripts-3.4/pyvenv to build/scripts-3.4/pyvenv-3.4 ./python ./Tools/scripts/run_tests.py == CPython 3.4.0 (default, Mar 26 2014, 02:47:06) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] == Linux-3.13.6-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug little-endian == hash algorithm: siphash24 64bit == /home/daniel/Downloads/Python-3.4.0/build/test_python_2817 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=1, verbose=0, bytes_warning=2, quiet=0, hash_randomization=1, isolated=0) Using random seed 6502535 [ 1/389] test_grammar /home/daniel/Downloads/Python-3.4.0/Lib/test/test_grammar.py:322: DeprecationWarning: Please use assertEqual instead. self.assertEquals(Spam.f.__annotations__, {'_Spam__kw': 1}) /home/daniel/Downloads/Python-3.4.0/Lib/test/test_grammar.py:323: DeprecationWarning: Please use assertEqual instead. self.assertEquals(Ham.f.__annotations__, {'_Spam__kw': 1}) [ 2/389] test_nis [ 3/389] test_stringprep [ 4/389] test__locale [ 5/389] test_property [ 6/389] test_strlit [ 7/389] test_call [ 8/389] test_codecencodings_kr [ 9/389] test_numeric_tower [ 10/389] test_pdb [ 11/389] test_ttk_textonly test_ttk_textonly skipped -- No module named '_tkinter' [ 12/389] test_exceptions [ 13/389] test_winreg test_winreg skipped -- No module named 'winreg' [ 14/389] test_http_cookiejar [ 15/389] test_zipimport_support [ 16/389/1] test_urllib2 test test_urllib2 failed -- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2.py", line 1445, in test_issue16464 opener.open(request, "1".encode("us-ascii")) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: [ 17/389/1] test_isinstance [ 18/389/1] test_string [ 19/389/1] test_tracemalloc [ 20/389/1] test_urllib [ 21/389/1] test_mimetypes [ 22/389/1] test_code [ 23/389/1] test_hashlib /home/daniel/Downloads/Python-3.4.0/Lib/test/test_hashlib.py:52: UserWarning: Did a C extension fail to compile? No module named '_hashlib' warnings.warn('Did a C extension fail to compile? %s' % error) [ 24/389/1] test_binascii [ 25/389/1] test_optparse [ 26/389/1] test_future [ 27/389/1] test_sys_setprofile [ 28/389/1] test_unary [ 29/389/1] test_imghdr [ 30/389/1] test_int_literal [ 31/389/1] test_wave [ 32/389/1] test_dummy_thread [ 33/389/1] test_webbrowser [ 34/389/1] test_dynamic [ 35/389/1] test_bigmem [ 36/389/1] test_eof [ 37/389/1] test_reprlib [ 38/389/1] test_extcall [ 39/389/1] test_socketserver [ 40/389/1] test_codecencodings_cn [ 41/389/1] test_cmd_line_script [ 42/389/1] test_hmac [ 43/389/1] test_poplib [ 44/389/1] test_inspect [ 45/389/1] test_runpy [ 46/389/1] test_typechecks [ 47/389/1] test_operator [ 48/389/1] test_sys [ 49/389/1] test_longexp [ 50/389/1] test_shelve [ 51/389/1] test_range [ 52/389/1] test_codeccallbacks [ 53/389/1] test_print [ 54/389/1] test_structseq [ 55/389/1] test_copyreg [ 56/389/1] test_funcattrs [ 57/389/1] test_asynchat [ 58/389/1] test_capi [ 59/389/1] test_unicodedata [ 60/389/1] test_codecmaps_kr [ 61/389/1] test_opcodes [ 62/389/1] test_descr [ 63/389/1] test_contextlib [ 64/389/1] test_datetime [ 65/389/1] test_sndhdr [ 66/389/1] test_kqueue test_kqueue skipped -- test works only on BSD [ 67/389/1] test_ioctl [ 68/389/1] test_bisect [ 69/389/1] test_fnmatch [ 70/389/1] test_bytes [ 71/389/1] test_lzma test_lzma skipped -- No module named '_lzma' [ 72/389/1] test_email [ 73/389/1] test_wait4 [ 74/389/1] test_pipes [ 75/389/1] test_bz2 test_bz2 skipped -- No module named '_bz2' [ 76/389/1] test_codeop [ 77/389/1] test_metaclass [ 78/389/1] test_pickle [ 79/389/1] test_doctest [ 80/389/1] test_pep3151 [ 81/389/1] test_dynamicclassattribute [ 82/389/1] test_base64 [ 83/389/1] test_difflib [ 84/389/1] test_syslog [ 85/389/1] test_codecencodings_iso2022 [ 86/389/1] test_warnings Warning -- warnings.filters was modified by test_warnings [ 87/389/1] test_gc [ 88/389/1] test_re [ 89/389/2] test_sqlite test test_sqlite failed -- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/sqlite3/test/hooks.py", line 165, in CheckOpcodeCount self.assertGreater(first_count, second_count) AssertionError: 5 not greater than 5 [ 90/389/2] test_minidom [ 91/389/2] test_posix [ 92/389/2] test_mmap [ 93/389/2] test_symtable [ 94/389/2] test_decorators [ 95/389/2] test_defaultdict [ 96/389/2] test_exception_variations [ 97/389/3] test_site test test_site failed -- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_site.py", line 424, in test_license_exists_at_url with urllib.request.urlopen(req) as data: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: [ 98/389/3] test_pwd [ 99/389/3] test_startfile test_startfile skipped -- object has no attribute 'startfile' [100/389/3] test_abc [101/389/3] test_dis [102/389/3] test_threading_local [103/389/3] test_crypt [104/389/3] test_userstring [105/389/3] test_codecencodings_hk [106/389/3] test_fileinput [107/389/3] test_long [108/389/3] test_gzip test_gzip skipped -- No module named 'zlib' [109/389/3] test_colorsys [110/389/3] test_queue [111/389/3] test_audioop [112/389/3] test_unicode_file [113/389/3] test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run [114/389/3] test_ast [115/389/3] test_ipaddress [116/389/3] test_dict [117/389/3] test_ntpath [118/389/3] test_tk test_tk skipped -- No module named '_tkinter' [119/389/3] test_fileio [120/389/4] test_urllib2net test test_urllib2net failed -- multiple errors occurred; run in verbose mode for details [121/389/4] test_future5 [122/389/4] test_asyncio [123/389/4] test_macpath [124/389/4] test_cmath [125/389/4] test_quopri [126/389/4] test_wsgiref [127/389/4] test_ucn [128/389/4] test_nntplib [129/389/4] test_genexps [130/389/4] test_cprofile [131/389/4] test_netrc [132/389/4] test_hash [133/389/4] test_flufl [134/389/4] test_class [135/389/4] test_itertools [136/389/4] test_file [137/389/4] test_threadedtempfile [138/389/4] test_xmlrpc [139/389/4] test_pep3131 [140/389/4] test_lib2to3 [141/389/4] test_multiprocessing_main_handling [142/389/4] test_dbm [143/389/4] test_largefile [144/389/4] test_dbm_gnu [145/389/4] test_support [146/389/4] test_enumerate [147/389/4] test_compare [148/389/4] test_unpack [149/389/4] test_ensurepip [150/389/4] test_binhex [151/389/4] test_super [152/389/4] test_csv [153/389/4] test_uu [154/389/4] test_with [155/389/4] test_pkgimport [156/389/4] test_filecmp [157/389/4] test_future3 [158/389/4] test_format [159/389/4] test_plistlib [160/389/4] test_html [161/389/4] test_dummy_threading [162/389/4] test_imp [163/389/4] test_py_compile [164/389/4] test_sys_settrace [165/389/4] test_textwrap [166/389/4] test___all__ Warning -- locale was modified by test___all__ [167/389/4] test_binop [168/389/4] test_import [169/389/4] test_finalization [170/389/4] test_cgitb [171/389/4] test_int [172/389/4] test_gettext [173/389/4] test_resource [174/389/4] test_list [175/389/4] test_weakset [176/389/5] test_robotparser test test_robotparser failed -- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_robotparser.py", line 283, in testPythonOrg parser.read() File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/robotparser.py", line 56, in read f = urllib.request.urlopen(self.url) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: [177/389/5] test_univnewlines [178/389/5] test_parser [179/389/5] test_tokenize [180/389/5] test_set [181/389/5] test_codecencodings_jp [182/389/5] test_venv [183/389/5] test_thread [184/389/5] test_crashers [185/389/5] test_configparser [186/389/5] test_selectors [187/389/5] test_pydoc [188/389/5] test_tools [189/389/5] test_aifc [190/389/5] test_zlib test_zlib skipped -- No module named 'zlib' [191/389/5] test_ctypes [192/389/5] test_enum [193/389/5] test_mailbox [194/389/5] test_ttk_guionly test_ttk_guionly skipped -- No module named '_tkinter' [195/389/5] test_cgi [196/389/5] test_sched [197/389/5] test_http_cookies [198/389/5] test_userlist [199/389/5] test_shlex [200/389/5] test_tuple [201/389/5] test_pathlib [202/389/5] test_richcmp [203/389/5] test_strptime [204/389/5] test_fcntl [205/389/5] test_timeout [206/389/5] test_faulthandler [207/389/5] test_bufio [208/389/5] test___future__ [209/389/5] test_pep292 [210/389/5] test_unpack_ex [211/389/5] test_normalization [212/389/5] test_gdb [213/389/5] test_calendar [214/389/5] test_urlparse [215/389/5] test_sysconfig [216/389/5] test_ssl test_ssl skipped -- No module named '_ssl' [217/389/5] test_errno [218/389/5] test_epoll [219/389/5] test_msilib test_msilib skipped -- No module named '_msi' [220/389/5] test_buffer [221/389/5] test_userdict [222/389/5] test_frame [223/389/5] test_file_eintr [224/389/5] test_fork1 [225/389/5] test_genericpath [226/389/5] test_decimal [227/389/5] test_atexit [228/389/5] test_tcl test_tcl skipped -- No module named '_tkinter' [229/389/5] test_time [230/389/5] test_idle test_idle skipped -- No module named '_tkinter' [231/389/5] test_concurrent_futures [232/389/5] test_osx_env [233/389/5] test_xml_dom_minicompat [234/389/5] test_dictviews [235/389/5] test_pep380 [236/389/5] test_pkgutil [237/389/5] test_ossaudiodev test_ossaudiodev skipped -- Use of the 'audio' resource not enabled [238/389/5] test_module [239/389/5] test_cmd [240/389/5] test_strtod [241/389/5] test_popen [242/389/5] test_posixpath [243/389/5] test_doctest2 [244/389/5] test_keyword [245/389/5] test_pep277 [246/389/5] test_pty [247/389/5] test_profile [248/389/5] test_getargs2 [249/389/5] test_array [250/389/5] test_iter [251/389/5] test_zipfile [252/389/5] test_builtin [253/389/5] test_codecs [254/389/5] test_functools [255/389/5] test_descrtut [256/389/5] test_xdrlib [257/389/5] test_os [258/389/5] test_modulefinder [259/389/5] test_copy [260/389/5] test_future4 [261/389/5] test_code_module [262/389/5] test_macurl2path [263/389/5] test_mailcap [264/389/5] test_xml_etree_c [265/389/5] test_pkg [266/389/5] test_abstract_numbers [267/389/5] test_multibytecodec [268/389/5] test_pprint [269/389/5] test_syntax [270/389/5] test_trace [271/389/5] test_telnetlib [272/389/5] test_threading [273/389/5] test_timeit [274/389/5] test_urllib_response [275/389/5] test_docxmlrpc [276/389/5] test_uuid [277/389/5] test_weakref [278/389/5] test_getpass [279/389/5] test_winsound test_winsound skipped -- Use of the 'audio' resource not enabled [280/389/5] test_xml_etree [281/389/5] test_structmembers [282/389/5] test_keywordonlyarg [283/389/5] test_smtpnet test_smtpnet skipped -- No module named '_ssl' [284/389/5] test_traceback [285/389/5] test_stat [286/389/5] test_slice [287/389/5] test_dbm_dumb [288/389/5] test_socket [289/389/5] test_statistics [290/389/5] test_htmlparser [291/389/5] test_augassign [292/389/5] test_unicode [293/389/5] test_cmd_line [294/389/5] test_sort [295/389/5] test_readline test_readline skipped -- No module named 'readline' [296/389/5] test_marshal [297/389/5] test_curses test_curses skipped -- No module named '_curses' [298/389/5] test_glob [299/389/5] test_iterlen [300/389/5] test_contains [301/389/5] test_platform [302/389/5] test_codecmaps_cn [303/389/5] test_threadsignals [304/389/5] test_global [305/389/5] test_importlib [306/389/5] test_float [307/389/5] test_raise [308/389/5] test_distutils [309/389/5] test_index [310/389/5] test_pulldom [311/389/5] test_generators [312/389/5] test_bigaddrspace [313/389/5] test_pep352 [314/389/5] test_random [315/389/5] test_deque [316/389/5] test_httplib [317/389/5] test_pep3120 [318/389/5] test_rlcompleter [319/389/5] test_scope [320/389/5] test_xmlrpc_net [321/389/5] test_sundry [322/389/5] test_dbm_ndbm [323/389/5] test_codecencodings_tw [324/389/5] test_json [325/389/5] test_sunau [326/389/5] test__osx_support [327/389/5] test_source_encoding [328/389/5] test_poll [329/389/5] test_smtpd [330/389/5] test_compile [331/389/5] test_codecmaps_tw [332/389/5] test_locale [333/389/5] test_fractions [334/389/5] test_devpoll test_devpoll skipped -- select.devpoll not defined [335/389/5] test_linecache [336/389/5] test_strftime [337/389/5] test_grp [338/389/5] test_unittest [339/389/5] test_pickletools [340/389/5] test_namespace_pkgs [341/389/5] test_getopt [342/389/5] test_charmapcodec [343/389/5] test_tarfile [344/389/5] test_listcomps [345/389/5] test_pow [346/389/5] test_compileall [347/389/5] test_openpty [348/389/5] test_pyexpat [349/389/5] test_heapq [350/389/5] test_setcomps [351/389/5] test_asyncore [352/389/5] test_wait3 [353/389/5] test_tempfile [354/389/5] test_bool [355/389/5] test_regrtest [356/389/5] test_ftplib [357/389/6] test_urllibnet /home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py:92: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods open_url = urllib.request.FancyURLopener().open(URL) test test_urllibnet failed -- multiple errors occurred; run in verbose mode for details [358/389/6] test_dictcomps [359/389/6] test_memoryio [360/389/6] test_zipimport [361/389/6] test_urllib2_localnet [362/389/6] test_math [363/389/6] test_pyclbr [364/389/6] test_signal [365/389/6] test_complex [366/389/6] test_select [367/389/6] test_threaded_import [368/389/6] test_shutil [369/389/6] test_codecmaps_hk [370/389/6] test_struct [371/389/6] test_types [372/389/6] test_imaplib [373/389/6] test_collections [374/389/6] test_peepholer [375/389/6] test_memoryview [376/389/6] test_pstats [377/389/6] test_smtplib /home/daniel/Downloads/Python-3.4.0/Lib/unittest/case.py:161: ResourceWarning: unclosed callable_obj(*args, **kwargs) [378/389/6] test_pep247 [379/389/6] test_sax [380/389/6] test_argparse [381/389/6] test__opcode [382/389/6] test_httpservers [383/389/6] test_codecmaps_jp [384/389/6] test_io [385/389/6] test_logging [386/389/6] test_multiprocessing_forkserver [387/389/6] test_subprocess [388/389/6] test_multiprocessing_spawn [389/389/6] test_multiprocessing_fork 360 tests OK. 6 tests failed: test_robotparser test_site test_sqlite test_urllib2 test_urllib2net test_urllibnet 2 tests altered the execution environment: test___all__ test_warnings 21 tests skipped: test_bz2 test_curses test_devpoll test_gzip test_idle test_kqueue test_lzma test_msilib test_ossaudiodev test_readline test_smtpnet test_ssl test_startfile test_tcl test_tk test_ttk_guionly test_ttk_textonly test_winreg test_winsound test_zipfile64 test_zlib Re-running failed tests in verbose mode Re-running test 'test_robotparser' in verbose mode testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) ... skipped "'http://mueblesmoraleda.com/robots.txt' should return a 401 or 403 HTTP error, not 404" testPythonOrg (test.test_robotparser.NetworkTestCase) ... ERROR 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 RobotTest(14, good, /some/path) ... ok RobotTest(14, bad, /some/path?name=value) ... ok RobotTest(15, good, /another/path) ... ok RobotTest(15, bad, /some/path) ... ok RobotTest(16, good, /some/path?) ... ok RobotTest(16, bad, /another/path?) ... test test_robotparser failed ok ====================================================================== ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_robotparser.py", line 283, in testPythonOrg parser.read() File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/robotparser.py", line 56, in read f = urllib.request.urlopen(self.url) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ---------------------------------------------------------------------- Ran 50 tests in 0.239s FAILED (errors=1, skipped=1) Re-running test 'test_site' in verbose mode test_addpackage (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests) ... ok test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests) ... ok test_addsitedir (test.test_site.HelperFunctionsTests) ... ok test_getsitepackages (test.test_site.HelperFunctionsTests) ... ok test_getuserbase (test.test_site.HelperFunctionsTests) ... ok test_getusersitepackages (test.test_site.HelperFunctionsTests) ... ok test_init_pathinfo (test.test_site.HelperFunctionsTests) ... ok test_makepath (test.test_site.HelperFunctionsTests) ... ok test_s_option (test.test_site.HelperFunctionsTests) ... ok test_abs_paths (test.test_site.ImportSideEffectTests) ... ok test_add_build_dir (test.test_site.ImportSideEffectTests) ... skipped 'test not implemented' test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok test_license_exists_at_url (test.test_site.ImportSideEffectTests) ... ERROR test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok test_setting_help (test.test_site.ImportSideEffectTests) ... ok test_setting_quit (test.test_site.ImportSideEffectTests) ... ok test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... ok test_startup_imports (test.test_site.StartupImportTests) ... test test_site failed ok ====================================================================== ERROR: test_license_exists_at_url (test.test_site.ImportSideEffectTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_site.py", line 424, in test_license_exists_at_url with urllib.request.urlopen(req) as data: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ---------------------------------------------------------------------- Ran 21 tests in 0.252s FAILED (errors=1, skipped=1) Re-running test 'test_sqlite' in verbose mode test_sqlite: testing with version '2.6.0', sqlite_version '3.8.4' CheckAPILevel (sqlite3.test.dbapi.ModuleTests) ... ok CheckDataError (sqlite3.test.dbapi.ModuleTests) ... ok CheckDatabaseError (sqlite3.test.dbapi.ModuleTests) ... ok CheckError (sqlite3.test.dbapi.ModuleTests) ... ok CheckIntegrityError (sqlite3.test.dbapi.ModuleTests) ... ok CheckInterfaceError (sqlite3.test.dbapi.ModuleTests) ... ok CheckInternalError (sqlite3.test.dbapi.ModuleTests) ... ok CheckNotSupportedError (sqlite3.test.dbapi.ModuleTests) ... ok CheckOperationalError (sqlite3.test.dbapi.ModuleTests) ... ok CheckParamStyle (sqlite3.test.dbapi.ModuleTests) ... ok CheckProgrammingError (sqlite3.test.dbapi.ModuleTests) ... ok CheckThreadSafety (sqlite3.test.dbapi.ModuleTests) ... ok CheckWarning (sqlite3.test.dbapi.ModuleTests) ... ok CheckClose (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCommit (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCommitAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok CheckCursor (sqlite3.test.dbapi.ConnectionTests) ... ok CheckExceptions (sqlite3.test.dbapi.ConnectionTests) ... ok CheckFailedOpen (sqlite3.test.dbapi.ConnectionTests) ... ok CheckInTransaction (sqlite3.test.dbapi.ConnectionTests) ... ok CheckInTransactionRO (sqlite3.test.dbapi.ConnectionTests) ... ok CheckOpenUri (sqlite3.test.dbapi.ConnectionTests) ... ok CheckRollback (sqlite3.test.dbapi.ConnectionTests) ... ok CheckRollbackAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok CheckArraySize (sqlite3.test.dbapi.CursorTests) ... ok CheckClose (sqlite3.test.dbapi.CursorTests) ... ok CheckCursorConnection (sqlite3.test.dbapi.CursorTests) ... ok CheckCursorWrongClass (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgFloat (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgInt (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgString (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteArgStringWithZeroByte (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMapping (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingNoArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingTooLittleArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMappingUnnamed (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteDictMapping_Mapping (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteIllegalSql (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyGenerator (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyIterator (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyNotIterable (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManySelect (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManySequence (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteManyWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteNoArgs (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteParamList (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteParamSequence (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql2 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteTooMuchSql3 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs1 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs2 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongNoOfArgs3 (sqlite3.test.dbapi.CursorTests) ... ok CheckExecuteWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchIter (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchall (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchmany (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchmanyKwArg (sqlite3.test.dbapi.CursorTests) Checks if fetchmany works with keyword arguments ... ok CheckFetchone (sqlite3.test.dbapi.CursorTests) ... ok CheckFetchoneNoStatement (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountExecute (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountExecutemany (sqlite3.test.dbapi.CursorTests) ... ok CheckRowcountSelect (sqlite3.test.dbapi.CursorTests) ... ok CheckSetinputsizes (sqlite3.test.dbapi.CursorTests) ... ok CheckSetoutputsize (sqlite3.test.dbapi.CursorTests) ... ok CheckSetoutputsizeNoColumn (sqlite3.test.dbapi.CursorTests) ... ok CheckTotalChanges (sqlite3.test.dbapi.CursorTests) ... ok CheckWrongCursorCallable (sqlite3.test.dbapi.CursorTests) ... ok CheckConClose (sqlite3.test.dbapi.ThreadTests) ... ok CheckConCommit (sqlite3.test.dbapi.ThreadTests) ... ok CheckConCursor (sqlite3.test.dbapi.ThreadTests) ... ok CheckConRollback (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurClose (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurExecute (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurImplicitBegin (sqlite3.test.dbapi.ThreadTests) ... ok CheckCurIterNext (sqlite3.test.dbapi.ThreadTests) ... ok CheckBinary (sqlite3.test.dbapi.ConstructorTests) ... ok CheckDate (sqlite3.test.dbapi.ConstructorTests) ... ok CheckDateFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTime (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimeFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimestamp (sqlite3.test.dbapi.ConstructorTests) ... ok CheckTimestampFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok CheckConnectionExecute (sqlite3.test.dbapi.ExtensionTests) ... ok CheckConnectionExecutemany (sqlite3.test.dbapi.ExtensionTests) ... ok CheckConnectionExecutescript (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptErrorNormal (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptStringSql (sqlite3.test.dbapi.ExtensionTests) ... ok CheckScriptSyntaxError (sqlite3.test.dbapi.ExtensionTests) ... ok CheckClosedCall (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedConCommit (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedConCursor (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedConRollback (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedCreateAggregate (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedCreateFunction (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedCurExecute (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedSetAuthorizer (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosedSetProgressCallback (sqlite3.test.dbapi.ClosedConTests) ... ok CheckClosed (sqlite3.test.dbapi.ClosedCurTests) ... ok CheckBlob (sqlite3.test.types.SqliteTypeTests) ... ok CheckFloat (sqlite3.test.types.SqliteTypeTests) ... ok CheckLargeInt (sqlite3.test.types.SqliteTypeTests) ... ok CheckSmallInt (sqlite3.test.types.SqliteTypeTests) ... ok CheckString (sqlite3.test.types.SqliteTypeTests) ... ok CheckUnicodeExecute (sqlite3.test.types.SqliteTypeTests) ... ok CheckBlob (sqlite3.test.types.DeclTypesTests) ... ok CheckBool (sqlite3.test.types.DeclTypesTests) ... ok CheckFloat (sqlite3.test.types.DeclTypesTests) ... ok CheckFoo (sqlite3.test.types.DeclTypesTests) ... ok CheckLargeInt (sqlite3.test.types.DeclTypesTests) ... ok CheckNumber1 (sqlite3.test.types.DeclTypesTests) ... ok CheckNumber2 (sqlite3.test.types.DeclTypesTests) Checks whether converter names are cut off at '(' characters ... ok CheckSmallInt (sqlite3.test.types.DeclTypesTests) ... ok CheckString (sqlite3.test.types.DeclTypesTests) ... ok CheckUnicode (sqlite3.test.types.DeclTypesTests) ... ok CheckUnsupportedDict (sqlite3.test.types.DeclTypesTests) ... ok CheckUnsupportedSeq (sqlite3.test.types.DeclTypesTests) ... ok CheckCaseInConverterName (sqlite3.test.types.ColNamesTests) ... ok CheckColName (sqlite3.test.types.ColNamesTests) ... ok CheckCursorDescriptionNoRow (sqlite3.test.types.ColNamesTests) ... ok CheckDeclTypeNotUsed (sqlite3.test.types.ColNamesTests) ... ok CheckNone (sqlite3.test.types.ColNamesTests) ... ok CheckCasterIsUsed (sqlite3.test.types.ObjectAdaptationTests) ... ok CheckBinaryInputForConverter (sqlite3.test.types.BinaryConverterTests) ... skipped 'requires zlib' CheckDateTimeSubSeconds (sqlite3.test.types.DateTimeTests) ... ok CheckDateTimeSubSecondsFloatingPoint (sqlite3.test.types.DateTimeTests) ... ok CheckSqlTimestamp (sqlite3.test.types.DateTimeTests) ... ok CheckSqliteDate (sqlite3.test.types.DateTimeTests) ... ok CheckSqliteTimestamp (sqlite3.test.types.DateTimeTests) ... ok CheckFuncErrorOnCreate (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncException (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncRefCount (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnBlob (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnFloat (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnInt (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnLongLong (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnNull (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnText (sqlite3.test.userfunctions.FunctionTests) ... ok CheckFuncReturnUnicode (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamBlob (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamFloat (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamInt (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamLongLong (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamNone (sqlite3.test.userfunctions.FunctionTests) ... ok CheckParamString (sqlite3.test.userfunctions.FunctionTests) ... ok CheckAggrCheckAggrSum (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamBlob (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamFloat (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamInt (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamNone (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrCheckParamStr (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrErrorOnCreate (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrExceptionInFinalize (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrExceptionInInit (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrExceptionInStep (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrNoFinalize (sqlite3.test.userfunctions.AggregateTests) ... ok CheckAggrNoStep (sqlite3.test.userfunctions.AggregateTests) ... ok test_column_access (sqlite3.test.userfunctions.AuthorizerTests) ... ok test_table_access (sqlite3.test.userfunctions.AuthorizerTests) ... ok test_column_access (sqlite3.test.userfunctions.AuthorizerRaiseExceptionTests) ... ok test_table_access (sqlite3.test.userfunctions.AuthorizerRaiseExceptionTests) ... ok test_column_access (sqlite3.test.userfunctions.AuthorizerIllegalTypeTests) ... ok test_table_access (sqlite3.test.userfunctions.AuthorizerIllegalTypeTests) ... ok test_column_access (sqlite3.test.userfunctions.AuthorizerLargeIntegerTests) ... ok test_table_access (sqlite3.test.userfunctions.AuthorizerLargeIntegerTests) ... ok CheckIsInstance (sqlite3.test.factory.ConnectionFactoryTests) ... ok CheckIsInstance (sqlite3.test.factory.CursorFactoryTests) ... ok CheckIsProducedByFactory (sqlite3.test.factory.RowFactoryTestsBackwardsCompat) ... ok CheckCustomFactory (sqlite3.test.factory.RowFactoryTests) ... ok CheckSqliteRowAsDict (sqlite3.test.factory.RowFactoryTests) Checks if the row object can be correctly converted to a dictionary ... ok CheckSqliteRowAsTuple (sqlite3.test.factory.RowFactoryTests) Checks if the row object can be converted to a tuple ... ok CheckSqliteRowHashCmp (sqlite3.test.factory.RowFactoryTests) Checks if the row object compares and hashes correctly ... ok CheckSqliteRowIndex (sqlite3.test.factory.RowFactoryTests) ... ok CheckSqliteRowIter (sqlite3.test.factory.RowFactoryTests) Checks if the row object is iterable ... ok CheckCustom (sqlite3.test.factory.TextFactoryTests) ... ok CheckOptimizedUnicode (sqlite3.test.factory.TextFactoryTests) ... ok CheckString (sqlite3.test.factory.TextFactoryTests) ... ok CheckUnicode (sqlite3.test.factory.TextFactoryTests) ... ok CheckBytearray (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok CheckBytes (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok CheckCustom (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok CheckString (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok CheckDMLdoesAutoCommitBefore (sqlite3.test.transactions.TransactionTests) ... ok CheckDeleteStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckInsertStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckLocking (sqlite3.test.transactions.TransactionTests) ... ok CheckRaiseTimeout (sqlite3.test.transactions.TransactionTests) ... ok CheckReplaceStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckRollbackCursorConsistency (sqlite3.test.transactions.TransactionTests) ... ok CheckToggleAutoCommit (sqlite3.test.transactions.TransactionTests) ... ok CheckUpdateStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok CheckDropTable (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckPragma (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckVacuum (sqlite3.test.transactions.SpecialCommandTests) ... ok CheckCollationIsUsed (sqlite3.test.hooks.CollationTests) ... ok CheckCollationRegisterTwice (sqlite3.test.hooks.CollationTests) ... ok CheckCollationReturnsLargeInteger (sqlite3.test.hooks.CollationTests) ... ok CheckCreateCollationNotAscii (sqlite3.test.hooks.CollationTests) ... ok CheckCreateCollationNotCallable (sqlite3.test.hooks.CollationTests) ... ok CheckDeregisterCollation (sqlite3.test.hooks.CollationTests) ... ok CheckCancelOperation (sqlite3.test.hooks.ProgressTests) ... ok CheckClearHandler (sqlite3.test.hooks.ProgressTests) ... ok CheckOpcodeCount (sqlite3.test.hooks.ProgressTests) ... FAIL CheckProgressHandlerUsed (sqlite3.test.hooks.ProgressTests) ... ok CheckClearTraceCallback (sqlite3.test.hooks.TraceCallbackTests) ... ok CheckTraceCallbackUsed (sqlite3.test.hooks.TraceCallbackTests) ... ok CheckUnicodeContent (sqlite3.test.hooks.TraceCallbackTests) ... ok CheckAutoCommit (sqlite3.test.regression.RegressionTests) ... ok CheckCollation (sqlite3.test.regression.RegressionTests) ... ok CheckColumnNameWithSpaces (sqlite3.test.regression.RegressionTests) ... ok CheckConnectionCall (sqlite3.test.regression.RegressionTests) ... ok CheckConnectionConstructorCallCheck (sqlite3.test.regression.RegressionTests) ... ok CheckConvertTimestampMicrosecondPadding (sqlite3.test.regression.RegressionTests) ... ok CheckCursorConstructorCallCheck (sqlite3.test.regression.RegressionTests) ... ok CheckCursorRegistration (sqlite3.test.regression.RegressionTests) ... ok CheckEmptyStatement (sqlite3.test.regression.RegressionTests) ... ok CheckErrorMsgDecodeError (sqlite3.test.regression.RegressionTests) ... ok CheckInvalidIsolationLevelType (sqlite3.test.regression.RegressionTests) ... ok CheckOnConflictRollback (sqlite3.test.regression.RegressionTests) ... ok CheckPragmaAutocommit (sqlite3.test.regression.RegressionTests) ... ok CheckPragmaSchemaVersion (sqlite3.test.regression.RegressionTests) ... ok CheckPragmaUserVersion (sqlite3.test.regression.RegressionTests) ... ok CheckRecursiveCursorUse (sqlite3.test.regression.RegressionTests) ... ok CheckRegisterAdapter (sqlite3.test.regression.RegressionTests) ... ok CheckSetDict (sqlite3.test.regression.RegressionTests) ... ok CheckSetIsolationLevel (sqlite3.test.regression.RegressionTests) ... ok CheckStatementFinalizationOnCloseDb (sqlite3.test.regression.RegressionTests) ... ok CheckStatementReset (sqlite3.test.regression.RegressionTests) ... ok CheckStrSubclass (sqlite3.test.regression.RegressionTests) ... ok CheckTypeMapUsage (sqlite3.test.regression.RegressionTests) ... ok CheckWorkaroundForBuggySqliteTransferBindings (sqlite3.test.regression.RegressionTests) ... ok CheckTableDump (sqlite3.test.dump.DumpTests) ... ok CheckUnorderableRow (sqlite3.test.dump.DumpTests) ... test test_sqlite failed ok ====================================================================== FAIL: CheckOpcodeCount (sqlite3.test.hooks.ProgressTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/sqlite3/test/hooks.py", line 165, in CheckOpcodeCount self.assertGreater(first_count, second_count) AssertionError: 5 not greater than 5 ---------------------------------------------------------------------- Ran 233 tests in 0.354s FAILED (failures=1, skipped=1) Re-running test 'test_urllib2' in verbose mode 122 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_basic_auth_with_unquoted_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_fixpath_in_weirdurls test.test_urllib2.HandlerTests.test_ftp test.test_urllib2.HandlerTests.test_full_url_deleter test.test_urllib2.HandlerTests.test_full_url_setter test.test_urllib2.HandlerTests.test_http test.test_urllib2.HandlerTests.test_http_doubleslash test.test_urllib2.HandlerTests.test_invalid_redirect test.test_urllib2.HandlerTests.test_osx_proxy_bypass 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_proxy_no_proxy_all test.test_urllib2.HandlerTests.test_redirect test.test_urllib2.HandlerTests.test_redirect_fragment test.test_urllib2.HandlerTests.test_relative_redirect test.test_urllib2.HandlerTests.test_unsupported_auth_basic_handler test.test_urllib2.HandlerTests.test_unsupported_auth_digest_handler test.test_urllib2.MiscTests test.test_urllib2.MiscTests.opener_has_handler test.test_urllib2.MiscTests.test_HTTPError_interface test.test_urllib2.MiscTests.test_build_opener test.test_urllib2.MiscTests.test_issue16464 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.close 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.geturl test.test_urllib2.MockHTTPResponse.info 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.RequestHdrsTests test.test_urllib2.RequestHdrsTests.test_password_manager test.test_urllib2.RequestHdrsTests.test_password_manager_default_port test.test_urllib2.RequestHdrsTests.test_request_headers_dict test.test_urllib2.RequestHdrsTests.test_request_headers_methods test.test_urllib2.RequestTests test.test_urllib2.RequestTests.PutRequest test.test_urllib2.RequestTests.setUp test.test_urllib2.RequestTests.test_data test.test_urllib2.RequestTests.test_deleting_data_should_remove_content_length 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.RequestTests.test_setting_data_should_remove_content_length test.test_urllib2.RequestTests.test_url_fragment test.test_urllib2.RequestTests.test_url_fullurl_get_full_url test.test_urllib2.RequestTests.test_wrapped_url test.test_urllib2.TrivialTests test.test_urllib2.TrivialTests.test_URLError_reasonstr test.test_urllib2.TrivialTests.test___all__ 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 0 tests in 122 items. 0 passed and 0 failed. Test passed. doctest (test.test_urllib2) ... 0 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@proxy.example.com') Expecting: (None, 'joe', 'password', 'proxy.example.com') ok Trying: _parse_proxy('joe:password@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 157 items had no tests: urllib.request urllib.request.AbstractBasicAuthHandler urllib.request.AbstractBasicAuthHandler.__init__ urllib.request.AbstractBasicAuthHandler.http_error_auth_reqed urllib.request.AbstractBasicAuthHandler.reset_retry_count urllib.request.AbstractBasicAuthHandler.retry_http_basic_auth urllib.request.AbstractDigestAuthHandler urllib.request.AbstractDigestAuthHandler.__init__ urllib.request.AbstractDigestAuthHandler.get_algorithm_impls urllib.request.AbstractDigestAuthHandler.get_authorization urllib.request.AbstractDigestAuthHandler.get_cnonce urllib.request.AbstractDigestAuthHandler.get_entity_digest urllib.request.AbstractDigestAuthHandler.http_error_auth_reqed urllib.request.AbstractDigestAuthHandler.reset_retry_count urllib.request.AbstractDigestAuthHandler.retry_http_digest_auth urllib.request.AbstractHTTPHandler urllib.request.AbstractHTTPHandler.__init__ urllib.request.AbstractHTTPHandler.do_open urllib.request.AbstractHTTPHandler.set_http_debuglevel urllib.request.BaseHandler urllib.request.BaseHandler.__lt__ urllib.request.BaseHandler.add_parent urllib.request.BaseHandler.close urllib.request.CacheFTPHandler urllib.request.CacheFTPHandler.__init__ urllib.request.CacheFTPHandler.check_cache urllib.request.CacheFTPHandler.clear_cache urllib.request.CacheFTPHandler.connect_ftp urllib.request.CacheFTPHandler.setMaxConns urllib.request.CacheFTPHandler.setTimeout urllib.request.DataHandler urllib.request.DataHandler.data_open urllib.request.FTPHandler urllib.request.FTPHandler.connect_ftp urllib.request.FTPHandler.ftp_open urllib.request.FancyURLopener urllib.request.FancyURLopener.__init__ urllib.request.FancyURLopener.get_user_passwd urllib.request.FancyURLopener.http_error_301 urllib.request.FancyURLopener.http_error_302 urllib.request.FancyURLopener.http_error_303 urllib.request.FancyURLopener.http_error_307 urllib.request.FancyURLopener.http_error_401 urllib.request.FancyURLopener.http_error_407 urllib.request.FancyURLopener.http_error_default urllib.request.FancyURLopener.prompt_user_passwd urllib.request.FancyURLopener.redirect_internal urllib.request.FancyURLopener.retry_http_basic_auth urllib.request.FancyURLopener.retry_https_basic_auth urllib.request.FancyURLopener.retry_proxy_http_basic_auth urllib.request.FancyURLopener.retry_proxy_https_basic_auth urllib.request.FileHandler urllib.request.FileHandler.file_open urllib.request.FileHandler.get_names urllib.request.FileHandler.open_local_file urllib.request.HTTPBasicAuthHandler urllib.request.HTTPBasicAuthHandler.http_error_401 urllib.request.HTTPCookieProcessor urllib.request.HTTPCookieProcessor.__init__ urllib.request.HTTPCookieProcessor.https_request urllib.request.HTTPCookieProcessor.https_response urllib.request.HTTPDefaultErrorHandler urllib.request.HTTPDefaultErrorHandler.http_error_default urllib.request.HTTPDigestAuthHandler urllib.request.HTTPDigestAuthHandler.http_error_401 urllib.request.HTTPErrorProcessor urllib.request.HTTPErrorProcessor.http_response urllib.request.HTTPHandler urllib.request.HTTPHandler.http_open urllib.request.HTTPHandler.http_request urllib.request.HTTPPasswordMgr urllib.request.HTTPPasswordMgr.__init__ urllib.request.HTTPPasswordMgr.add_password urllib.request.HTTPPasswordMgr.find_user_password urllib.request.HTTPPasswordMgr.is_suburi urllib.request.HTTPPasswordMgr.reduce_uri urllib.request.HTTPPasswordMgrWithDefaultRealm urllib.request.HTTPPasswordMgrWithDefaultRealm.find_user_password urllib.request.HTTPRedirectHandler urllib.request.HTTPRedirectHandler.http_error_301 urllib.request.HTTPRedirectHandler.redirect_request urllib.request.OpenerDirector urllib.request.OpenerDirector.__init__ urllib.request.OpenerDirector._call_chain urllib.request.OpenerDirector._open urllib.request.OpenerDirector.add_handler urllib.request.OpenerDirector.close urllib.request.OpenerDirector.error urllib.request.OpenerDirector.open urllib.request.ProxyBasicAuthHandler urllib.request.ProxyBasicAuthHandler.http_error_407 urllib.request.ProxyDigestAuthHandler urllib.request.ProxyDigestAuthHandler.http_error_407 urllib.request.ProxyHandler urllib.request.ProxyHandler.__init__ urllib.request.ProxyHandler.proxy_open urllib.request.Request urllib.request.Request.__init__ urllib.request.Request._parse urllib.request.Request.add_header urllib.request.Request.add_unredirected_header urllib.request.Request.data urllib.request.Request.full_url urllib.request.Request.get_full_url urllib.request.Request.get_header urllib.request.Request.get_method urllib.request.Request.has_header urllib.request.Request.has_proxy urllib.request.Request.header_items urllib.request.Request.remove_header urllib.request.Request.set_proxy urllib.request.URLopener urllib.request.URLopener.__del__ urllib.request.URLopener.__init__ urllib.request.URLopener._open_generic_http urllib.request.URLopener.addheader urllib.request.URLopener.cleanup urllib.request.URLopener.close urllib.request.URLopener.http_error urllib.request.URLopener.http_error_default urllib.request.URLopener.open urllib.request.URLopener.open_data urllib.request.URLopener.open_file urllib.request.URLopener.open_ftp urllib.request.URLopener.open_http urllib.request.URLopener.open_local_file urllib.request.URLopener.open_unknown urllib.request.URLopener.open_unknown_proxy urllib.request.URLopener.retrieve urllib.request.UnknownHandler urllib.request.UnknownHandler.unknown_open urllib.request._proxy_bypass_macosx_sysconf urllib.request._safe_gethostbyname urllib.request.build_opener urllib.request.ftperrors urllib.request.ftpwrapper urllib.request.ftpwrapper.__init__ urllib.request.ftpwrapper.close urllib.request.ftpwrapper.endtransfer urllib.request.ftpwrapper.file_close urllib.request.ftpwrapper.init urllib.request.ftpwrapper.real_close urllib.request.ftpwrapper.retrfile urllib.request.getproxies urllib.request.install_opener urllib.request.localhost urllib.request.noheaders urllib.request.parse_http_list urllib.request.parse_keqv_list urllib.request.pathname2url urllib.request.proxy_bypass urllib.request.request_host urllib.request.thishost urllib.request.url2pathname urllib.request.urlcleanup urllib.request.urlopen urllib.request.urlretrieve 1 items passed all tests: 11 tests in urllib.request._parse_proxy 11 tests in 158 items. 11 passed and 0 failed. Test passed. doctest (urllib.request) ... 11 tests with zero failures test_URLError_reasonstr (test.test_urllib2.TrivialTests) ... ok test___all__ (test.test_urllib2.TrivialTests) ... ok 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_basic_auth_with_unquoted_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) ... ok test_fixpath_in_weirdurls (test.test_urllib2.HandlerTests) ... ok test_ftp (test.test_urllib2.HandlerTests) ... ok test_full_url_deleter (test.test_urllib2.HandlerTests) ... ok test_full_url_setter (test.test_urllib2.HandlerTests) ... ok test_http (test.test_urllib2.HandlerTests) ... ok test_http_doubleslash (test.test_urllib2.HandlerTests) ... ok test_invalid_redirect (test.test_urllib2.HandlerTests) ... ok test_osx_proxy_bypass (test.test_urllib2.HandlerTests) ... skipped 'only relevant for OSX' 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_proxy_no_proxy_all (test.test_urllib2.HandlerTests) ... ok test_redirect (test.test_urllib2.HandlerTests) ... ok test_redirect_fragment (test.test_urllib2.HandlerTests) ... ok test_relative_redirect (test.test_urllib2.HandlerTests) ... ok test_unsupported_auth_basic_handler (test.test_urllib2.HandlerTests) ... ok test_unsupported_auth_digest_handler (test.test_urllib2.HandlerTests) ... ok test_HTTPError_interface (test.test_urllib2.MiscTests) ... ok test_build_opener (test.test_urllib2.MiscTests) ... ok test_issue16464 (test.test_urllib2.MiscTests) ... ERROR test_data (test.test_urllib2.RequestTests) ... ok test_deleting_data_should_remove_content_length (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 test_setting_data_should_remove_content_length (test.test_urllib2.RequestTests) ... ok test_url_fragment (test.test_urllib2.RequestTests) ... ok test_url_fullurl_get_full_url (test.test_urllib2.RequestTests) ... ok test_wrapped_url (test.test_urllib2.RequestTests) ... ok test_password_manager (test.test_urllib2.RequestHdrsTests) ... ok test_password_manager_default_port (test.test_urllib2.RequestHdrsTests) ... ok test_request_headers_dict (test.test_urllib2.RequestHdrsTests) ... ok test_request_headers_methods (test.test_urllib2.RequestHdrsTests) ... test test_urllib2 failed ok ====================================================================== ERROR: test_issue16464 (test.test_urllib2.MiscTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2.py", line 1445, in test_issue16464 opener.open(request, "1".encode("us-ascii")) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ---------------------------------------------------------------------- Ran 58 tests in 0.169s FAILED (errors=1, skipped=1) Re-running test 'test_urllib2net' in verbose mode test_close (test.test_urllib2net.CloseSocketTest) ... ERROR test_custom_headers (test.test_urllib2net.OtherNetworkTests) ... ok test_file (test.test_urllib2net.OtherNetworkTests) ... ok test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok test_redirect_url_withfrag (test.test_urllib2net.OtherNetworkTests) ... ok test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests) ... ok test_urlwithfrag (test.test_urllib2net.OtherNetworkTests) ... ok test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ok test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ok 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 "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 88, in test_close response = _urlopen_with_retry(url) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped return _retry_thrice(func, exc, *args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice raise last_exc File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice return func(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_http_basic (test.test_urllib2net.TimeoutTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 268, in test_http_basic u = _urlopen_with_retry(url) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped return _retry_thrice(func, exc, *args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice raise last_exc File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice return func(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_http_default_timeout (test.test_urllib2net.TimeoutTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 278, in test_http_default_timeout u = _urlopen_with_retry(url) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped return _retry_thrice(func, exc, *args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice raise last_exc File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice return func(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_http_no_timeout (test.test_urllib2net.TimeoutTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 290, in test_http_no_timeout u = _urlopen_with_retry(url, timeout=None) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped return _retry_thrice(func, exc, *args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice raise last_exc File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice return func(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: test test_urllib2net failed ====================================================================== ERROR: test_http_timeout (test.test_urllib2net.TimeoutTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 299, in test_http_timeout u = _urlopen_with_retry(url, timeout=120) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped return _retry_thrice(func, exc, *args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice raise last_exc File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice return func(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ---------------------------------------------------------------------- Ran 15 tests in 15.671s FAILED (errors=5) 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_reporthook (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 "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 26, in testURLread f = urllib.request.urlopen("http://www.python.org/") File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_basic (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 57, in test_basic with self.urlopen("http://www.python.org/") as open_url: File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen r = urllib.request.urlopen(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_fileno (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 104, in test_fileno with self.urlopen("http://www.python.org/", timeout=None) as open_url: File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen r = urllib.request.urlopen(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_getcode (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1677, in open return getattr(self, name)(url) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1856, in open_http return self._open_generic_http(http.client.HTTPConnection, url, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1852, in _open_generic_http response.status, response.reason, response.msg, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1868, in http_error result = method(url, fp, errcode, errmsg, headers) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2089, in http_error_301 return self.http_error_302(url, fp, errcode, errmsg, headers, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2055, in http_error_302 data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2085, in redirect_internal return self.open(newurl) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1674, in open return self.open_unknown(fullurl, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1688, in open_unknown raise OSError('url error', 'unknown url type', type) OSError: [Errno url error] unknown url type: 'https' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 92, in test_getcode open_url = urllib.request.FancyURLopener().open(URL) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1683, in open raise OSError('socket error', msg).with_traceback(sys.exc_info()[2]) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1677, in open return getattr(self, name)(url) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1856, in open_http return self._open_generic_http(http.client.HTTPConnection, url, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1852, in _open_generic_http response.status, response.reason, response.msg, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1868, in http_error result = method(url, fp, errcode, errmsg, headers) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2089, in http_error_301 return self.http_error_302(url, fp, errcode, errmsg, headers, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2055, in http_error_302 data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2085, in redirect_internal return self.open(newurl) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1674, in open return self.open_unknown(fullurl, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1688, in open_unknown raise OSError('url error', 'unknown url type', type) OSError: [Errno socket error] [Errno url error] unknown url type: 'https' ====================================================================== ERROR: test_geturl (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 84, in test_geturl with self.urlopen(URL) as open_url: File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen r = urllib.request.urlopen(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_info (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 74, in test_info with self.urlopen("http://www.python.org/") as open_url: File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen r = urllib.request.urlopen(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_readlines (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 66, in test_readlines with self.urlopen("http://www.python.org/") as open_url: File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen r = urllib.request.urlopen(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_basic (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 150, in test_basic with self.urlretrieve("http://www.python.org/") as (file_location, info): File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_data_header (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 175, in test_data_header with self.urlretrieve(self.logo) as (file_location, fileheaders): File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: /home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py:92: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods open_url = urllib.request.FancyURLopener().open(URL) test test_urllibnet failed ====================================================================== ERROR: test_header (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 168, in test_header with self.urlretrieve("http://www.python.org/") as (file_location, info): File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_reporthook (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 188, in test_reporthook with self.urlretrieve(self.logo, reporthook=recording_reporthook) as ( File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ====================================================================== ERROR: test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 160, in test_specified_path support.TESTFN) as (file_location, info): File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__ return next(self.gen) File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response 'http', request, response, code, msg, hdrs) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: ---------------------------------------------------------------------- Ran 13 tests in 1.113s FAILED (errors=12) make: *** [test] Error 1