Python 3.4.0 unittest failures - Pastebin.com (original) (raw)

  1. running build
  2. running build_ext
  3. INFO: Can't locate Tcl/Tk libs and/or headers
  4. Python build finished successfully!
  5. The necessary bits to build these optional modules were not found:
  6. _bz2 _curses _curses_panel
  7. _lzma _ssl _tkinter
  8. readline zlib
  9. To find the necessary bits, look in setup.py in detect_modules() for the module's name.
  10. running build_scripts
  11. copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/pydoc3 -> build/scripts-3.4
  12. copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/idle3 -> build/scripts-3.4
  13. copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/2to3 -> build/scripts-3.4
  14. copying and adjusting /home/daniel/Downloads/Python-3.4.0/Tools/scripts/pyvenv -> build/scripts-3.4
  15. changing mode of build/scripts-3.4/pydoc3 from 664 to 775
  16. changing mode of build/scripts-3.4/idle3 from 664 to 775
  17. changing mode of build/scripts-3.4/2to3 from 664 to 775
  18. changing mode of build/scripts-3.4/pyvenv from 664 to 775
  19. renaming build/scripts-3.4/pydoc3 to build/scripts-3.4/pydoc3.4
  20. renaming build/scripts-3.4/idle3 to build/scripts-3.4/idle3.4
  21. renaming build/scripts-3.4/2to3 to build/scripts-3.4/2to3-3.4
  22. renaming build/scripts-3.4/pyvenv to build/scripts-3.4/pyvenv-3.4
  23. ./python ./Tools/scripts/run_tests.py
  24. == CPython 3.4.0 (default, Mar 26 2014, 02:47:06) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)]
  25. == Linux-3.13.6-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug little-endian
  26. == hash algorithm: siphash24 64bit
  27. == /home/daniel/Downloads/Python-3.4.0/build/test_python_2817
  28. 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)
  29. Using random seed 6502535
  30. [ 1/389] test_grammar
  31. /home/daniel/Downloads/Python-3.4.0/Lib/test/test_grammar.py:322: DeprecationWarning: Please use assertEqual instead.
  32. self.assertEquals(Spam.f.__annotations__, {'_Spam__kw': 1})
  33. /home/daniel/Downloads/Python-3.4.0/Lib/test/test_grammar.py:323: DeprecationWarning: Please use assertEqual instead.
  34. self.assertEquals(Ham.f.__annotations__, {'_Spam__kw': 1})
  35. [ 2/389] test_nis
  36. [ 3/389] test_stringprep
  37. [ 4/389] test__locale
  38. [ 5/389] test_property
  39. [ 6/389] test_strlit
  40. [ 7/389] test_call
  41. [ 8/389] test_codecencodings_kr
  42. [ 9/389] test_numeric_tower
  43. [ 10/389] test_pdb
  44. [ 11/389] test_ttk_textonly
  45. test_ttk_textonly skipped -- No module named '_tkinter'
  46. [ 12/389] test_exceptions
  47. [ 13/389] test_winreg
  48. test_winreg skipped -- No module named 'winreg'
  49. [ 14/389] test_http_cookiejar
  50. [ 15/389] test_zipimport_support
  51. [ 16/389/1] test_urllib2
  52. test test_urllib2 failed -- Traceback (most recent call last):
  53. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2.py", line 1445, in test_issue16464
  54. opener.open(request, "1".encode("us-ascii"))
  55. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  56. response = meth(req, response)
  57. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  58. 'http', request, response, code, msg, hdrs)
  59. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  60. result = self._call_chain(*args)
  61. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  62. result = func(*args)
  63. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  64. return self.parent.open(new, timeout=req.timeout)
  65. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  66. response = self._open(req, data)
  67. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  68. 'unknown_open', req)
  69. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  70. result = func(*args)
  71. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  72. raise URLError('unknown url type: %s' % type)
  73. urllib.error.URLError:
  74. [ 17/389/1] test_isinstance
  75. [ 18/389/1] test_string
  76. [ 19/389/1] test_tracemalloc
  77. [ 20/389/1] test_urllib
  78. [ 21/389/1] test_mimetypes
  79. [ 22/389/1] test_code
  80. [ 23/389/1] test_hashlib
  81. /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'
  82. warnings.warn('Did a C extension fail to compile? %s' % error)
  83. [ 24/389/1] test_binascii
  84. [ 25/389/1] test_optparse
  85. [ 26/389/1] test_future
  86. [ 27/389/1] test_sys_setprofile
  87. [ 28/389/1] test_unary
  88. [ 29/389/1] test_imghdr
  89. [ 30/389/1] test_int_literal
  90. [ 31/389/1] test_wave
  91. [ 32/389/1] test_dummy_thread
  92. [ 33/389/1] test_webbrowser
  93. [ 34/389/1] test_dynamic
  94. [ 35/389/1] test_bigmem
  95. [ 36/389/1] test_eof
  96. [ 37/389/1] test_reprlib
  97. [ 38/389/1] test_extcall
  98. [ 39/389/1] test_socketserver
  99. [ 40/389/1] test_codecencodings_cn
  100. [ 41/389/1] test_cmd_line_script
  101. [ 42/389/1] test_hmac
  102. [ 43/389/1] test_poplib
  103. [ 44/389/1] test_inspect
  104. [ 45/389/1] test_runpy
  105. [ 46/389/1] test_typechecks
  106. [ 47/389/1] test_operator
  107. [ 48/389/1] test_sys
  108. [ 49/389/1] test_longexp
  109. [ 50/389/1] test_shelve
  110. [ 51/389/1] test_range
  111. [ 52/389/1] test_codeccallbacks
  112. [ 53/389/1] test_print
  113. [ 54/389/1] test_structseq
  114. [ 55/389/1] test_copyreg
  115. [ 56/389/1] test_funcattrs
  116. [ 57/389/1] test_asynchat
  117. [ 58/389/1] test_capi
  118. [ 59/389/1] test_unicodedata
  119. [ 60/389/1] test_codecmaps_kr
  120. [ 61/389/1] test_opcodes
  121. [ 62/389/1] test_descr
  122. [ 63/389/1] test_contextlib
  123. [ 64/389/1] test_datetime
  124. [ 65/389/1] test_sndhdr
  125. [ 66/389/1] test_kqueue
  126. test_kqueue skipped -- test works only on BSD
  127. [ 67/389/1] test_ioctl
  128. [ 68/389/1] test_bisect
  129. [ 69/389/1] test_fnmatch
  130. [ 70/389/1] test_bytes
  131. [ 71/389/1] test_lzma
  132. test_lzma skipped -- No module named '_lzma'
  133. [ 72/389/1] test_email
  134. [ 73/389/1] test_wait4
  135. [ 74/389/1] test_pipes
  136. [ 75/389/1] test_bz2
  137. test_bz2 skipped -- No module named '_bz2'
  138. [ 76/389/1] test_codeop
  139. [ 77/389/1] test_metaclass
  140. [ 78/389/1] test_pickle
  141. [ 79/389/1] test_doctest
  142. [ 80/389/1] test_pep3151
  143. [ 81/389/1] test_dynamicclassattribute
  144. [ 82/389/1] test_base64
  145. [ 83/389/1] test_difflib
  146. [ 84/389/1] test_syslog
  147. [ 85/389/1] test_codecencodings_iso2022
  148. [ 86/389/1] test_warnings
  149. Warning -- warnings.filters was modified by test_warnings
  150. [ 87/389/1] test_gc
  151. [ 88/389/1] test_re
  152. [ 89/389/2] test_sqlite
  153. test test_sqlite failed -- Traceback (most recent call last):
  154. File "/home/daniel/Downloads/Python-3.4.0/Lib/sqlite3/test/hooks.py", line 165, in CheckOpcodeCount
  155. self.assertGreater(first_count, second_count)
  156. AssertionError: 5 not greater than 5
  157. [ 90/389/2] test_minidom
  158. [ 91/389/2] test_posix
  159. [ 92/389/2] test_mmap
  160. [ 93/389/2] test_symtable
  161. [ 94/389/2] test_decorators
  162. [ 95/389/2] test_defaultdict
  163. [ 96/389/2] test_exception_variations
  164. [ 97/389/3] test_site
  165. test test_site failed -- Traceback (most recent call last):
  166. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_site.py", line 424, in test_license_exists_at_url
  167. with urllib.request.urlopen(req) as data:
  168. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  169. return opener.open(url, data, timeout)
  170. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  171. response = meth(req, response)
  172. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  173. 'http', request, response, code, msg, hdrs)
  174. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  175. result = self._call_chain(*args)
  176. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  177. result = func(*args)
  178. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  179. return self.parent.open(new, timeout=req.timeout)
  180. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  181. response = self._open(req, data)
  182. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  183. 'unknown_open', req)
  184. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  185. result = func(*args)
  186. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  187. raise URLError('unknown url type: %s' % type)
  188. urllib.error.URLError:
  189. [ 98/389/3] test_pwd
  190. [ 99/389/3] test_startfile
  191. test_startfile skipped -- object <module 'os' from '/home/daniel/Downloads/Python-3.4.0/Lib/os.py'> has no attribute 'startfile'
  192. [100/389/3] test_abc
  193. [101/389/3] test_dis
  194. [102/389/3] test_threading_local
  195. [103/389/3] test_crypt
  196. [104/389/3] test_userstring
  197. [105/389/3] test_codecencodings_hk
  198. [106/389/3] test_fileinput
  199. [107/389/3] test_long
  200. [108/389/3] test_gzip
  201. test_gzip skipped -- No module named 'zlib'
  202. [109/389/3] test_colorsys
  203. [110/389/3] test_queue
  204. [111/389/3] test_audioop
  205. [112/389/3] test_unicode_file
  206. [113/389/3] test_zipfile64
  207. test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
  208. [114/389/3] test_ast
  209. [115/389/3] test_ipaddress
  210. [116/389/3] test_dict
  211. [117/389/3] test_ntpath
  212. [118/389/3] test_tk
  213. test_tk skipped -- No module named '_tkinter'
  214. [119/389/3] test_fileio
  215. [120/389/4] test_urllib2net
  216. test test_urllib2net failed -- multiple errors occurred; run in verbose mode for details
  217. [121/389/4] test_future5
  218. [122/389/4] test_asyncio
  219. [123/389/4] test_macpath
  220. [124/389/4] test_cmath
  221. [125/389/4] test_quopri
  222. [126/389/4] test_wsgiref
  223. [127/389/4] test_ucn
  224. [128/389/4] test_nntplib
  225. [129/389/4] test_genexps
  226. [130/389/4] test_cprofile
  227. [131/389/4] test_netrc
  228. [132/389/4] test_hash
  229. [133/389/4] test_flufl
  230. [134/389/4] test_class
  231. [135/389/4] test_itertools
  232. [136/389/4] test_file
  233. [137/389/4] test_threadedtempfile
  234. [138/389/4] test_xmlrpc
  235. [139/389/4] test_pep3131
  236. [140/389/4] test_lib2to3
  237. [141/389/4] test_multiprocessing_main_handling
  238. [142/389/4] test_dbm
  239. [143/389/4] test_largefile
  240. [144/389/4] test_dbm_gnu
  241. [145/389/4] test_support
  242. [146/389/4] test_enumerate
  243. [147/389/4] test_compare
  244. [148/389/4] test_unpack
  245. [149/389/4] test_ensurepip
  246. [150/389/4] test_binhex
  247. [151/389/4] test_super
  248. [152/389/4] test_csv
  249. [153/389/4] test_uu
  250. [154/389/4] test_with
  251. [155/389/4] test_pkgimport
  252. [156/389/4] test_filecmp
  253. [157/389/4] test_future3
  254. [158/389/4] test_format
  255. [159/389/4] test_plistlib
  256. [160/389/4] test_html
  257. [161/389/4] test_dummy_threading
  258. [162/389/4] test_imp
  259. [163/389/4] test_py_compile
  260. [164/389/4] test_sys_settrace
  261. [165/389/4] test_textwrap
  262. [166/389/4] test___all__
  263. Warning -- locale was modified by test___all__
  264. [167/389/4] test_binop
  265. [168/389/4] test_import
  266. [169/389/4] test_finalization
  267. [170/389/4] test_cgitb
  268. [171/389/4] test_int
  269. [172/389/4] test_gettext
  270. [173/389/4] test_resource
  271. [174/389/4] test_list
  272. [175/389/4] test_weakset
  273. [176/389/5] test_robotparser
  274. test test_robotparser failed -- Traceback (most recent call last):
  275. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_robotparser.py", line 283, in testPythonOrg
  276. parser.read()
  277. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/robotparser.py", line 56, in read
  278. f = urllib.request.urlopen(self.url)
  279. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  280. return opener.open(url, data, timeout)
  281. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  282. response = meth(req, response)
  283. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  284. 'http', request, response, code, msg, hdrs)
  285. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  286. result = self._call_chain(*args)
  287. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  288. result = func(*args)
  289. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  290. return self.parent.open(new, timeout=req.timeout)
  291. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  292. response = self._open(req, data)
  293. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  294. 'unknown_open', req)
  295. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  296. result = func(*args)
  297. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  298. raise URLError('unknown url type: %s' % type)
  299. urllib.error.URLError:
  300. [177/389/5] test_univnewlines
  301. [178/389/5] test_parser
  302. [179/389/5] test_tokenize
  303. [180/389/5] test_set
  304. [181/389/5] test_codecencodings_jp
  305. [182/389/5] test_venv
  306. [183/389/5] test_thread
  307. [184/389/5] test_crashers
  308. [185/389/5] test_configparser
  309. [186/389/5] test_selectors
  310. [187/389/5] test_pydoc
  311. [188/389/5] test_tools
  312. [189/389/5] test_aifc
  313. [190/389/5] test_zlib
  314. test_zlib skipped -- No module named 'zlib'
  315. [191/389/5] test_ctypes
  316. [192/389/5] test_enum
  317. [193/389/5] test_mailbox
  318. [194/389/5] test_ttk_guionly
  319. test_ttk_guionly skipped -- No module named '_tkinter'
  320. [195/389/5] test_cgi
  321. [196/389/5] test_sched
  322. [197/389/5] test_http_cookies
  323. [198/389/5] test_userlist
  324. [199/389/5] test_shlex
  325. [200/389/5] test_tuple
  326. [201/389/5] test_pathlib
  327. [202/389/5] test_richcmp
  328. [203/389/5] test_strptime
  329. [204/389/5] test_fcntl
  330. [205/389/5] test_timeout
  331. [206/389/5] test_faulthandler
  332. [207/389/5] test_bufio
  333. [208/389/5] test___future__
  334. [209/389/5] test_pep292
  335. [210/389/5] test_unpack_ex
  336. [211/389/5] test_normalization
  337. [212/389/5] test_gdb
  338. [213/389/5] test_calendar
  339. [214/389/5] test_urlparse
  340. [215/389/5] test_sysconfig
  341. [216/389/5] test_ssl
  342. test_ssl skipped -- No module named '_ssl'
  343. [217/389/5] test_errno
  344. [218/389/5] test_epoll
  345. [219/389/5] test_msilib
  346. test_msilib skipped -- No module named '_msi'
  347. [220/389/5] test_buffer
  348. [221/389/5] test_userdict
  349. [222/389/5] test_frame
  350. [223/389/5] test_file_eintr
  351. [224/389/5] test_fork1
  352. [225/389/5] test_genericpath
  353. [226/389/5] test_decimal
  354. [227/389/5] test_atexit
  355. [228/389/5] test_tcl
  356. test_tcl skipped -- No module named '_tkinter'
  357. [229/389/5] test_time
  358. [230/389/5] test_idle
  359. test_idle skipped -- No module named '_tkinter'
  360. [231/389/5] test_concurrent_futures
  361. [232/389/5] test_osx_env
  362. [233/389/5] test_xml_dom_minicompat
  363. [234/389/5] test_dictviews
  364. [235/389/5] test_pep380
  365. [236/389/5] test_pkgutil
  366. [237/389/5] test_ossaudiodev
  367. test_ossaudiodev skipped -- Use of the 'audio' resource not enabled
  368. [238/389/5] test_module
  369. [239/389/5] test_cmd
  370. [240/389/5] test_strtod
  371. [241/389/5] test_popen
  372. [242/389/5] test_posixpath
  373. [243/389/5] test_doctest2
  374. [244/389/5] test_keyword
  375. [245/389/5] test_pep277
  376. [246/389/5] test_pty
  377. [247/389/5] test_profile
  378. [248/389/5] test_getargs2
  379. [249/389/5] test_array
  380. [250/389/5] test_iter
  381. [251/389/5] test_zipfile
  382. [252/389/5] test_builtin
  383. [253/389/5] test_codecs
  384. [254/389/5] test_functools
  385. [255/389/5] test_descrtut
  386. [256/389/5] test_xdrlib
  387. [257/389/5] test_os
  388. [258/389/5] test_modulefinder
  389. [259/389/5] test_copy
  390. [260/389/5] test_future4
  391. [261/389/5] test_code_module
  392. [262/389/5] test_macurl2path
  393. [263/389/5] test_mailcap
  394. [264/389/5] test_xml_etree_c
  395. [265/389/5] test_pkg
  396. [266/389/5] test_abstract_numbers
  397. [267/389/5] test_multibytecodec
  398. [268/389/5] test_pprint
  399. [269/389/5] test_syntax
  400. [270/389/5] test_trace
  401. [271/389/5] test_telnetlib
  402. [272/389/5] test_threading
  403. [273/389/5] test_timeit
  404. [274/389/5] test_urllib_response
  405. [275/389/5] test_docxmlrpc
  406. [276/389/5] test_uuid
  407. [277/389/5] test_weakref
  408. [278/389/5] test_getpass
  409. [279/389/5] test_winsound
  410. test_winsound skipped -- Use of the 'audio' resource not enabled
  411. [280/389/5] test_xml_etree
  412. [281/389/5] test_structmembers
  413. [282/389/5] test_keywordonlyarg
  414. [283/389/5] test_smtpnet
  415. test_smtpnet skipped -- No module named '_ssl'
  416. [284/389/5] test_traceback
  417. [285/389/5] test_stat
  418. [286/389/5] test_slice
  419. [287/389/5] test_dbm_dumb
  420. [288/389/5] test_socket
  421. [289/389/5] test_statistics
  422. [290/389/5] test_htmlparser
  423. [291/389/5] test_augassign
  424. [292/389/5] test_unicode
  425. [293/389/5] test_cmd_line
  426. [294/389/5] test_sort
  427. [295/389/5] test_readline
  428. test_readline skipped -- No module named 'readline'
  429. [296/389/5] test_marshal
  430. [297/389/5] test_curses
  431. test_curses skipped -- No module named '_curses'
  432. [298/389/5] test_glob
  433. [299/389/5] test_iterlen
  434. [300/389/5] test_contains
  435. [301/389/5] test_platform
  436. [302/389/5] test_codecmaps_cn
  437. [303/389/5] test_threadsignals
  438. [304/389/5] test_global
  439. [305/389/5] test_importlib
  440. [306/389/5] test_float
  441. [307/389/5] test_raise
  442. [308/389/5] test_distutils
  443. [309/389/5] test_index
  444. [310/389/5] test_pulldom
  445. [311/389/5] test_generators
  446. [312/389/5] test_bigaddrspace
  447. [313/389/5] test_pep352
  448. [314/389/5] test_random
  449. [315/389/5] test_deque
  450. [316/389/5] test_httplib
  451. [317/389/5] test_pep3120
  452. [318/389/5] test_rlcompleter
  453. [319/389/5] test_scope
  454. [320/389/5] test_xmlrpc_net
  455. [321/389/5] test_sundry
  456. [322/389/5] test_dbm_ndbm
  457. [323/389/5] test_codecencodings_tw
  458. [324/389/5] test_json
  459. [325/389/5] test_sunau
  460. [326/389/5] test__osx_support
  461. [327/389/5] test_source_encoding
  462. [328/389/5] test_poll
  463. [329/389/5] test_smtpd
  464. [330/389/5] test_compile
  465. [331/389/5] test_codecmaps_tw
  466. [332/389/5] test_locale
  467. [333/389/5] test_fractions
  468. [334/389/5] test_devpoll
  469. test_devpoll skipped -- select.devpoll not defined
  470. [335/389/5] test_linecache
  471. [336/389/5] test_strftime
  472. [337/389/5] test_grp
  473. [338/389/5] test_unittest
  474. [339/389/5] test_pickletools
  475. [340/389/5] test_namespace_pkgs
  476. [341/389/5] test_getopt
  477. [342/389/5] test_charmapcodec
  478. [343/389/5] test_tarfile
  479. [344/389/5] test_listcomps
  480. [345/389/5] test_pow
  481. [346/389/5] test_compileall
  482. [347/389/5] test_openpty
  483. [348/389/5] test_pyexpat
  484. [349/389/5] test_heapq
  485. [350/389/5] test_setcomps
  486. [351/389/5] test_asyncore
  487. [352/389/5] test_wait3
  488. [353/389/5] test_tempfile
  489. [354/389/5] test_bool
  490. [355/389/5] test_regrtest
  491. [356/389/5] test_ftplib
  492. [357/389/6] test_urllibnet
  493. /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
  494. open_url = urllib.request.FancyURLopener().open(URL)
  495. test test_urllibnet failed -- multiple errors occurred; run in verbose mode for details
  496. [358/389/6] test_dictcomps
  497. [359/389/6] test_memoryio
  498. [360/389/6] test_zipimport
  499. [361/389/6] test_urllib2_localnet
  500. [362/389/6] test_math
  501. [363/389/6] test_pyclbr
  502. [364/389/6] test_signal
  503. [365/389/6] test_complex
  504. [366/389/6] test_select
  505. [367/389/6] test_threaded_import
  506. [368/389/6] test_shutil
  507. [369/389/6] test_codecmaps_hk
  508. [370/389/6] test_struct
  509. [371/389/6] test_types
  510. [372/389/6] test_imaplib
  511. [373/389/6] test_collections
  512. [374/389/6] test_peepholer
  513. [375/389/6] test_memoryview
  514. [376/389/6] test_pstats
  515. [377/389/6] test_smtplib
  516. /home/daniel/Downloads/Python-3.4.0/Lib/unittest/case.py:161: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('127.0.0.1', 58075), raddr=('127.0.0.1', 56111)>
  517. callable_obj(*args, **kwargs)
  518. [378/389/6] test_pep247
  519. [379/389/6] test_sax
  520. [380/389/6] test_argparse
  521. [381/389/6] test__opcode
  522. [382/389/6] test_httpservers
  523. [383/389/6] test_codecmaps_jp
  524. [384/389/6] test_io
  525. [385/389/6] test_logging
  526. [386/389/6] test_multiprocessing_forkserver
  527. [387/389/6] test_subprocess
  528. [388/389/6] test_multiprocessing_spawn
  529. [389/389/6] test_multiprocessing_fork
  530. 360 tests OK.
  531. 6 tests failed:
  532. test_robotparser test_site test_sqlite test_urllib2
  533. test_urllib2net test_urllibnet
  534. 2 tests altered the execution environment:
  535. test___all__ test_warnings
  536. 21 tests skipped:
  537. test_bz2 test_curses test_devpoll test_gzip test_idle test_kqueue
  538. test_lzma test_msilib test_ossaudiodev test_readline test_smtpnet
  539. test_ssl test_startfile test_tcl test_tk test_ttk_guionly
  540. test_ttk_textonly test_winreg test_winsound test_zipfile64
  541. test_zlib
  542. Re-running failed tests in verbose mode
  543. Re-running test 'test_robotparser' in verbose mode
  544. testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) ... skipped "'http://mueblesmoraleda.com/robots.txt' should return a 401 or 403 HTTP error, not 404"
  545. testPythonOrg (test.test_robotparser.NetworkTestCase) ... ERROR
  546. RobotTest(1, good, /) ... ok
  547. RobotTest(1, good, /test.html) ... ok
  548. RobotTest(1, bad, /cyberworld/map/index.html) ... ok
  549. RobotTest(1, bad, /tmp/xxx) ... ok
  550. RobotTest(1, bad, /foo.html) ... ok
  551. RobotTest(2, good, /) ... ok
  552. RobotTest(2, good, /test.html) ... ok
  553. RobotTest(2, good, ('cybermapper', '/cyberworld/map/index.html')) ... ok
  554. RobotTest(2, bad, /cyberworld/map/index.html) ... ok
  555. RobotTest(3, bad, /cyberworld/map/index.html) ... ok
  556. RobotTest(3, bad, /) ... ok
  557. RobotTest(3, bad, /tmp/) ... ok
  558. RobotTest(4, bad, /tmp) ... ok
  559. RobotTest(4, bad, /tmp.html) ... ok
  560. RobotTest(4, bad, /tmp/a.html) ... ok
  561. RobotTest(4, bad, /a%3cd.html) ... ok
  562. RobotTest(4, bad, /a%3Cd.html) ... ok
  563. RobotTest(4, bad, /a%2fb.html) ... ok
  564. RobotTest(4, bad, /~joe/index.html) ... ok
  565. RobotTest(5, bad, /tmp) ... ok
  566. RobotTest(5, bad, /tmp.html) ... ok
  567. RobotTest(5, bad, /tmp/a.html) ... ok
  568. RobotTest(5, bad, /a%3cd.html) ... ok
  569. RobotTest(5, bad, /a%3Cd.html) ... ok
  570. RobotTest(5, bad, /a%2fb.html) ... ok
  571. RobotTest(5, bad, /~joe/index.html) ... ok
  572. RobotTest(6, good, /tmp) ... ok
  573. RobotTest(6, bad, /tmp/) ... ok
  574. RobotTest(6, bad, /tmp/a.html) ... ok
  575. RobotTest(6, bad, /a%3cd.html) ... ok
  576. RobotTest(6, bad, /a%3Cd.html) ... ok
  577. RobotTest(6, bad, /a/b.html) ... ok
  578. RobotTest(6, bad, /%7Ejoe/index.html) ... ok
  579. RobotTest(7, good, /foo.html) ... ok
  580. RobotTest(8, good, /folder1/myfile.html) ... ok
  581. RobotTest(8, bad, /folder1/anotherfile.html) ... ok
  582. RobotTest(9, bad, /something.jpg) ... ok
  583. RobotTest(10, bad, /something.jpg) ... ok
  584. RobotTest(11, bad, /something.jpg) ... ok
  585. RobotTest(12, good, /something.jpg) ... ok
  586. RobotTest(13, good, /folder1/myfile.html) ... ok
  587. RobotTest(13, bad, /folder1/anotherfile.html) ... ok
  588. RobotTest(14, good, /some/path) ... ok
  589. RobotTest(14, bad, /some/path?name=value) ... ok
  590. RobotTest(15, good, /another/path) ... ok
  591. RobotTest(15, bad, /some/path) ... ok
  592. RobotTest(16, good, /some/path?) ... ok
  593. RobotTest(16, bad, /another/path?) ... test test_robotparser failed
  594. ok
  595. ======================================================================
  596. ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase)
  597. ----------------------------------------------------------------------
  598. Traceback (most recent call last):
  599. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_robotparser.py", line 283, in testPythonOrg
  600. parser.read()
  601. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/robotparser.py", line 56, in read
  602. f = urllib.request.urlopen(self.url)
  603. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  604. return opener.open(url, data, timeout)
  605. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  606. response = meth(req, response)
  607. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  608. 'http', request, response, code, msg, hdrs)
  609. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  610. result = self._call_chain(*args)
  611. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  612. result = func(*args)
  613. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  614. return self.parent.open(new, timeout=req.timeout)
  615. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  616. response = self._open(req, data)
  617. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  618. 'unknown_open', req)
  619. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  620. result = func(*args)
  621. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  622. raise URLError('unknown url type: %s' % type)
  623. urllib.error.URLError:
  624. ----------------------------------------------------------------------
  625. Ran 50 tests in 0.239s
  626. FAILED (errors=1, skipped=1)
  627. Re-running test 'test_site' in verbose mode
  628. test_addpackage (test.test_site.HelperFunctionsTests) ... ok
  629. test_addpackage_import_bad_exec (test.test_site.HelperFunctionsTests) ... ok
  630. test_addpackage_import_bad_pth_file (test.test_site.HelperFunctionsTests) ... ok
  631. test_addpackage_import_bad_syntax (test.test_site.HelperFunctionsTests) ... ok
  632. test_addsitedir (test.test_site.HelperFunctionsTests) ... ok
  633. test_getsitepackages (test.test_site.HelperFunctionsTests) ... ok
  634. test_getuserbase (test.test_site.HelperFunctionsTests) ... ok
  635. test_getusersitepackages (test.test_site.HelperFunctionsTests) ... ok
  636. test_init_pathinfo (test.test_site.HelperFunctionsTests) ... ok
  637. test_makepath (test.test_site.HelperFunctionsTests) ... ok
  638. test_s_option (test.test_site.HelperFunctionsTests) ... ok
  639. test_abs_paths (test.test_site.ImportSideEffectTests) ... ok
  640. test_add_build_dir (test.test_site.ImportSideEffectTests) ... skipped 'test not implemented'
  641. test_aliasing_mbcs (test.test_site.ImportSideEffectTests) ... ok
  642. test_license_exists_at_url (test.test_site.ImportSideEffectTests) ... ERROR
  643. test_no_duplicate_paths (test.test_site.ImportSideEffectTests) ... ok
  644. test_setting_copyright (test.test_site.ImportSideEffectTests) ... ok
  645. test_setting_help (test.test_site.ImportSideEffectTests) ... ok
  646. test_setting_quit (test.test_site.ImportSideEffectTests) ... ok
  647. test_sitecustomize_executed (test.test_site.ImportSideEffectTests) ... ok
  648. test_startup_imports (test.test_site.StartupImportTests) ... test test_site failed
  649. ok
  650. ======================================================================
  651. ERROR: test_license_exists_at_url (test.test_site.ImportSideEffectTests)
  652. ----------------------------------------------------------------------
  653. Traceback (most recent call last):
  654. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_site.py", line 424, in test_license_exists_at_url
  655. with urllib.request.urlopen(req) as data:
  656. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  657. return opener.open(url, data, timeout)
  658. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  659. response = meth(req, response)
  660. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  661. 'http', request, response, code, msg, hdrs)
  662. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  663. result = self._call_chain(*args)
  664. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  665. result = func(*args)
  666. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  667. return self.parent.open(new, timeout=req.timeout)
  668. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  669. response = self._open(req, data)
  670. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  671. 'unknown_open', req)
  672. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  673. result = func(*args)
  674. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  675. raise URLError('unknown url type: %s' % type)
  676. urllib.error.URLError:
  677. ----------------------------------------------------------------------
  678. Ran 21 tests in 0.252s
  679. FAILED (errors=1, skipped=1)
  680. Re-running test 'test_sqlite' in verbose mode
  681. test_sqlite: testing with version '2.6.0', sqlite_version '3.8.4'
  682. CheckAPILevel (sqlite3.test.dbapi.ModuleTests) ... ok
  683. CheckDataError (sqlite3.test.dbapi.ModuleTests) ... ok
  684. CheckDatabaseError (sqlite3.test.dbapi.ModuleTests) ... ok
  685. CheckError (sqlite3.test.dbapi.ModuleTests) ... ok
  686. CheckIntegrityError (sqlite3.test.dbapi.ModuleTests) ... ok
  687. CheckInterfaceError (sqlite3.test.dbapi.ModuleTests) ... ok
  688. CheckInternalError (sqlite3.test.dbapi.ModuleTests) ... ok
  689. CheckNotSupportedError (sqlite3.test.dbapi.ModuleTests) ... ok
  690. CheckOperationalError (sqlite3.test.dbapi.ModuleTests) ... ok
  691. CheckParamStyle (sqlite3.test.dbapi.ModuleTests) ... ok
  692. CheckProgrammingError (sqlite3.test.dbapi.ModuleTests) ... ok
  693. CheckThreadSafety (sqlite3.test.dbapi.ModuleTests) ... ok
  694. CheckWarning (sqlite3.test.dbapi.ModuleTests) ... ok
  695. CheckClose (sqlite3.test.dbapi.ConnectionTests) ... ok
  696. CheckCommit (sqlite3.test.dbapi.ConnectionTests) ... ok
  697. CheckCommitAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok
  698. CheckCursor (sqlite3.test.dbapi.ConnectionTests) ... ok
  699. CheckExceptions (sqlite3.test.dbapi.ConnectionTests) ... ok
  700. CheckFailedOpen (sqlite3.test.dbapi.ConnectionTests) ... ok
  701. CheckInTransaction (sqlite3.test.dbapi.ConnectionTests) ... ok
  702. CheckInTransactionRO (sqlite3.test.dbapi.ConnectionTests) ... ok
  703. CheckOpenUri (sqlite3.test.dbapi.ConnectionTests) ... ok
  704. CheckRollback (sqlite3.test.dbapi.ConnectionTests) ... ok
  705. CheckRollbackAfterNoChanges (sqlite3.test.dbapi.ConnectionTests) ... ok
  706. CheckArraySize (sqlite3.test.dbapi.CursorTests) ... ok
  707. CheckClose (sqlite3.test.dbapi.CursorTests) ... ok
  708. CheckCursorConnection (sqlite3.test.dbapi.CursorTests) ... ok
  709. CheckCursorWrongClass (sqlite3.test.dbapi.CursorTests) ... ok
  710. CheckExecuteArgFloat (sqlite3.test.dbapi.CursorTests) ... ok
  711. CheckExecuteArgInt (sqlite3.test.dbapi.CursorTests) ... ok
  712. CheckExecuteArgString (sqlite3.test.dbapi.CursorTests) ... ok
  713. CheckExecuteArgStringWithZeroByte (sqlite3.test.dbapi.CursorTests) ... ok
  714. CheckExecuteDictMapping (sqlite3.test.dbapi.CursorTests) ... ok
  715. CheckExecuteDictMappingNoArgs (sqlite3.test.dbapi.CursorTests) ... ok
  716. CheckExecuteDictMappingTooLittleArgs (sqlite3.test.dbapi.CursorTests) ... ok
  717. CheckExecuteDictMappingUnnamed (sqlite3.test.dbapi.CursorTests) ... ok
  718. CheckExecuteDictMapping_Mapping (sqlite3.test.dbapi.CursorTests) ... ok
  719. CheckExecuteIllegalSql (sqlite3.test.dbapi.CursorTests) ... ok
  720. CheckExecuteManyGenerator (sqlite3.test.dbapi.CursorTests) ... ok
  721. CheckExecuteManyIterator (sqlite3.test.dbapi.CursorTests) ... ok
  722. CheckExecuteManyNotIterable (sqlite3.test.dbapi.CursorTests) ... ok
  723. CheckExecuteManySelect (sqlite3.test.dbapi.CursorTests) ... ok
  724. CheckExecuteManySequence (sqlite3.test.dbapi.CursorTests) ... ok
  725. CheckExecuteManyWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok
  726. CheckExecuteNoArgs (sqlite3.test.dbapi.CursorTests) ... ok
  727. CheckExecuteParamList (sqlite3.test.dbapi.CursorTests) ... ok
  728. CheckExecuteParamSequence (sqlite3.test.dbapi.CursorTests) ... ok
  729. CheckExecuteTooMuchSql (sqlite3.test.dbapi.CursorTests) ... ok
  730. CheckExecuteTooMuchSql2 (sqlite3.test.dbapi.CursorTests) ... ok
  731. CheckExecuteTooMuchSql3 (sqlite3.test.dbapi.CursorTests) ... ok
  732. CheckExecuteWrongNoOfArgs1 (sqlite3.test.dbapi.CursorTests) ... ok
  733. CheckExecuteWrongNoOfArgs2 (sqlite3.test.dbapi.CursorTests) ... ok
  734. CheckExecuteWrongNoOfArgs3 (sqlite3.test.dbapi.CursorTests) ... ok
  735. CheckExecuteWrongSqlArg (sqlite3.test.dbapi.CursorTests) ... ok
  736. CheckFetchIter (sqlite3.test.dbapi.CursorTests) ... ok
  737. CheckFetchall (sqlite3.test.dbapi.CursorTests) ... ok
  738. CheckFetchmany (sqlite3.test.dbapi.CursorTests) ... ok
  739. CheckFetchmanyKwArg (sqlite3.test.dbapi.CursorTests)
  740. Checks if fetchmany works with keyword arguments ... ok
  741. CheckFetchone (sqlite3.test.dbapi.CursorTests) ... ok
  742. CheckFetchoneNoStatement (sqlite3.test.dbapi.CursorTests) ... ok
  743. CheckRowcountExecute (sqlite3.test.dbapi.CursorTests) ... ok
  744. CheckRowcountExecutemany (sqlite3.test.dbapi.CursorTests) ... ok
  745. CheckRowcountSelect (sqlite3.test.dbapi.CursorTests) ... ok
  746. CheckSetinputsizes (sqlite3.test.dbapi.CursorTests) ... ok
  747. CheckSetoutputsize (sqlite3.test.dbapi.CursorTests) ... ok
  748. CheckSetoutputsizeNoColumn (sqlite3.test.dbapi.CursorTests) ... ok
  749. CheckTotalChanges (sqlite3.test.dbapi.CursorTests) ... ok
  750. CheckWrongCursorCallable (sqlite3.test.dbapi.CursorTests) ... ok
  751. CheckConClose (sqlite3.test.dbapi.ThreadTests) ... ok
  752. CheckConCommit (sqlite3.test.dbapi.ThreadTests) ... ok
  753. CheckConCursor (sqlite3.test.dbapi.ThreadTests) ... ok
  754. CheckConRollback (sqlite3.test.dbapi.ThreadTests) ... ok
  755. CheckCurClose (sqlite3.test.dbapi.ThreadTests) ... ok
  756. CheckCurExecute (sqlite3.test.dbapi.ThreadTests) ... ok
  757. CheckCurImplicitBegin (sqlite3.test.dbapi.ThreadTests) ... ok
  758. CheckCurIterNext (sqlite3.test.dbapi.ThreadTests) ... ok
  759. CheckBinary (sqlite3.test.dbapi.ConstructorTests) ... ok
  760. CheckDate (sqlite3.test.dbapi.ConstructorTests) ... ok
  761. CheckDateFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok
  762. CheckTime (sqlite3.test.dbapi.ConstructorTests) ... ok
  763. CheckTimeFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok
  764. CheckTimestamp (sqlite3.test.dbapi.ConstructorTests) ... ok
  765. CheckTimestampFromTicks (sqlite3.test.dbapi.ConstructorTests) ... ok
  766. CheckConnectionExecute (sqlite3.test.dbapi.ExtensionTests) ... ok
  767. CheckConnectionExecutemany (sqlite3.test.dbapi.ExtensionTests) ... ok
  768. CheckConnectionExecutescript (sqlite3.test.dbapi.ExtensionTests) ... ok
  769. CheckScriptErrorNormal (sqlite3.test.dbapi.ExtensionTests) ... ok
  770. CheckScriptStringSql (sqlite3.test.dbapi.ExtensionTests) ... ok
  771. CheckScriptSyntaxError (sqlite3.test.dbapi.ExtensionTests) ... ok
  772. CheckClosedCall (sqlite3.test.dbapi.ClosedConTests) ... ok
  773. CheckClosedConCommit (sqlite3.test.dbapi.ClosedConTests) ... ok
  774. CheckClosedConCursor (sqlite3.test.dbapi.ClosedConTests) ... ok
  775. CheckClosedConRollback (sqlite3.test.dbapi.ClosedConTests) ... ok
  776. CheckClosedCreateAggregate (sqlite3.test.dbapi.ClosedConTests) ... ok
  777. CheckClosedCreateFunction (sqlite3.test.dbapi.ClosedConTests) ... ok
  778. CheckClosedCurExecute (sqlite3.test.dbapi.ClosedConTests) ... ok
  779. CheckClosedSetAuthorizer (sqlite3.test.dbapi.ClosedConTests) ... ok
  780. CheckClosedSetProgressCallback (sqlite3.test.dbapi.ClosedConTests) ... ok
  781. CheckClosed (sqlite3.test.dbapi.ClosedCurTests) ... ok
  782. CheckBlob (sqlite3.test.types.SqliteTypeTests) ... ok
  783. CheckFloat (sqlite3.test.types.SqliteTypeTests) ... ok
  784. CheckLargeInt (sqlite3.test.types.SqliteTypeTests) ... ok
  785. CheckSmallInt (sqlite3.test.types.SqliteTypeTests) ... ok
  786. CheckString (sqlite3.test.types.SqliteTypeTests) ... ok
  787. CheckUnicodeExecute (sqlite3.test.types.SqliteTypeTests) ... ok
  788. CheckBlob (sqlite3.test.types.DeclTypesTests) ... ok
  789. CheckBool (sqlite3.test.types.DeclTypesTests) ... ok
  790. CheckFloat (sqlite3.test.types.DeclTypesTests) ... ok
  791. CheckFoo (sqlite3.test.types.DeclTypesTests) ... ok
  792. CheckLargeInt (sqlite3.test.types.DeclTypesTests) ... ok
  793. CheckNumber1 (sqlite3.test.types.DeclTypesTests) ... ok
  794. CheckNumber2 (sqlite3.test.types.DeclTypesTests)
  795. Checks whether converter names are cut off at '(' characters ... ok
  796. CheckSmallInt (sqlite3.test.types.DeclTypesTests) ... ok
  797. CheckString (sqlite3.test.types.DeclTypesTests) ... ok
  798. CheckUnicode (sqlite3.test.types.DeclTypesTests) ... ok
  799. CheckUnsupportedDict (sqlite3.test.types.DeclTypesTests) ... ok
  800. CheckUnsupportedSeq (sqlite3.test.types.DeclTypesTests) ... ok
  801. CheckCaseInConverterName (sqlite3.test.types.ColNamesTests) ... ok
  802. CheckColName (sqlite3.test.types.ColNamesTests) ... ok
  803. CheckCursorDescriptionNoRow (sqlite3.test.types.ColNamesTests) ... ok
  804. CheckDeclTypeNotUsed (sqlite3.test.types.ColNamesTests) ... ok
  805. CheckNone (sqlite3.test.types.ColNamesTests) ... ok
  806. CheckCasterIsUsed (sqlite3.test.types.ObjectAdaptationTests) ... ok
  807. CheckBinaryInputForConverter (sqlite3.test.types.BinaryConverterTests) ... skipped 'requires zlib'
  808. CheckDateTimeSubSeconds (sqlite3.test.types.DateTimeTests) ... ok
  809. CheckDateTimeSubSecondsFloatingPoint (sqlite3.test.types.DateTimeTests) ... ok
  810. CheckSqlTimestamp (sqlite3.test.types.DateTimeTests) ... ok
  811. CheckSqliteDate (sqlite3.test.types.DateTimeTests) ... ok
  812. CheckSqliteTimestamp (sqlite3.test.types.DateTimeTests) ... ok
  813. CheckFuncErrorOnCreate (sqlite3.test.userfunctions.FunctionTests) ... ok
  814. CheckFuncException (sqlite3.test.userfunctions.FunctionTests) ... ok
  815. CheckFuncRefCount (sqlite3.test.userfunctions.FunctionTests) ... ok
  816. CheckFuncReturnBlob (sqlite3.test.userfunctions.FunctionTests) ... ok
  817. CheckFuncReturnFloat (sqlite3.test.userfunctions.FunctionTests) ... ok
  818. CheckFuncReturnInt (sqlite3.test.userfunctions.FunctionTests) ... ok
  819. CheckFuncReturnLongLong (sqlite3.test.userfunctions.FunctionTests) ... ok
  820. CheckFuncReturnNull (sqlite3.test.userfunctions.FunctionTests) ... ok
  821. CheckFuncReturnText (sqlite3.test.userfunctions.FunctionTests) ... ok
  822. CheckFuncReturnUnicode (sqlite3.test.userfunctions.FunctionTests) ... ok
  823. CheckParamBlob (sqlite3.test.userfunctions.FunctionTests) ... ok
  824. CheckParamFloat (sqlite3.test.userfunctions.FunctionTests) ... ok
  825. CheckParamInt (sqlite3.test.userfunctions.FunctionTests) ... ok
  826. CheckParamLongLong (sqlite3.test.userfunctions.FunctionTests) ... ok
  827. CheckParamNone (sqlite3.test.userfunctions.FunctionTests) ... ok
  828. CheckParamString (sqlite3.test.userfunctions.FunctionTests) ... ok
  829. CheckAggrCheckAggrSum (sqlite3.test.userfunctions.AggregateTests) ... ok
  830. CheckAggrCheckParamBlob (sqlite3.test.userfunctions.AggregateTests) ... ok
  831. CheckAggrCheckParamFloat (sqlite3.test.userfunctions.AggregateTests) ... ok
  832. CheckAggrCheckParamInt (sqlite3.test.userfunctions.AggregateTests) ... ok
  833. CheckAggrCheckParamNone (sqlite3.test.userfunctions.AggregateTests) ... ok
  834. CheckAggrCheckParamStr (sqlite3.test.userfunctions.AggregateTests) ... ok
  835. CheckAggrErrorOnCreate (sqlite3.test.userfunctions.AggregateTests) ... ok
  836. CheckAggrExceptionInFinalize (sqlite3.test.userfunctions.AggregateTests) ... ok
  837. CheckAggrExceptionInInit (sqlite3.test.userfunctions.AggregateTests) ... ok
  838. CheckAggrExceptionInStep (sqlite3.test.userfunctions.AggregateTests) ... ok
  839. CheckAggrNoFinalize (sqlite3.test.userfunctions.AggregateTests) ... ok
  840. CheckAggrNoStep (sqlite3.test.userfunctions.AggregateTests) ... ok
  841. test_column_access (sqlite3.test.userfunctions.AuthorizerTests) ... ok
  842. test_table_access (sqlite3.test.userfunctions.AuthorizerTests) ... ok
  843. test_column_access (sqlite3.test.userfunctions.AuthorizerRaiseExceptionTests) ... ok
  844. test_table_access (sqlite3.test.userfunctions.AuthorizerRaiseExceptionTests) ... ok
  845. test_column_access (sqlite3.test.userfunctions.AuthorizerIllegalTypeTests) ... ok
  846. test_table_access (sqlite3.test.userfunctions.AuthorizerIllegalTypeTests) ... ok
  847. test_column_access (sqlite3.test.userfunctions.AuthorizerLargeIntegerTests) ... ok
  848. test_table_access (sqlite3.test.userfunctions.AuthorizerLargeIntegerTests) ... ok
  849. CheckIsInstance (sqlite3.test.factory.ConnectionFactoryTests) ... ok
  850. CheckIsInstance (sqlite3.test.factory.CursorFactoryTests) ... ok
  851. CheckIsProducedByFactory (sqlite3.test.factory.RowFactoryTestsBackwardsCompat) ... ok
  852. CheckCustomFactory (sqlite3.test.factory.RowFactoryTests) ... ok
  853. CheckSqliteRowAsDict (sqlite3.test.factory.RowFactoryTests)
  854. Checks if the row object can be correctly converted to a dictionary ... ok
  855. CheckSqliteRowAsTuple (sqlite3.test.factory.RowFactoryTests)
  856. Checks if the row object can be converted to a tuple ... ok
  857. CheckSqliteRowHashCmp (sqlite3.test.factory.RowFactoryTests)
  858. Checks if the row object compares and hashes correctly ... ok
  859. CheckSqliteRowIndex (sqlite3.test.factory.RowFactoryTests) ... ok
  860. CheckSqliteRowIter (sqlite3.test.factory.RowFactoryTests)
  861. Checks if the row object is iterable ... ok
  862. CheckCustom (sqlite3.test.factory.TextFactoryTests) ... ok
  863. CheckOptimizedUnicode (sqlite3.test.factory.TextFactoryTests) ... ok
  864. CheckString (sqlite3.test.factory.TextFactoryTests) ... ok
  865. CheckUnicode (sqlite3.test.factory.TextFactoryTests) ... ok
  866. CheckBytearray (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok
  867. CheckBytes (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok
  868. CheckCustom (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok
  869. CheckString (sqlite3.test.factory.TextFactoryTestsWithEmbeddedZeroBytes) ... ok
  870. CheckDMLdoesAutoCommitBefore (sqlite3.test.transactions.TransactionTests) ... ok
  871. CheckDeleteStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok
  872. CheckInsertStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok
  873. CheckLocking (sqlite3.test.transactions.TransactionTests) ... ok
  874. CheckRaiseTimeout (sqlite3.test.transactions.TransactionTests) ... ok
  875. CheckReplaceStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok
  876. CheckRollbackCursorConsistency (sqlite3.test.transactions.TransactionTests) ... ok
  877. CheckToggleAutoCommit (sqlite3.test.transactions.TransactionTests) ... ok
  878. CheckUpdateStartsTransaction (sqlite3.test.transactions.TransactionTests) ... ok
  879. CheckDropTable (sqlite3.test.transactions.SpecialCommandTests) ... ok
  880. CheckPragma (sqlite3.test.transactions.SpecialCommandTests) ... ok
  881. CheckVacuum (sqlite3.test.transactions.SpecialCommandTests) ... ok
  882. CheckCollationIsUsed (sqlite3.test.hooks.CollationTests) ... ok
  883. CheckCollationRegisterTwice (sqlite3.test.hooks.CollationTests) ... ok
  884. CheckCollationReturnsLargeInteger (sqlite3.test.hooks.CollationTests) ... ok
  885. CheckCreateCollationNotAscii (sqlite3.test.hooks.CollationTests) ... ok
  886. CheckCreateCollationNotCallable (sqlite3.test.hooks.CollationTests) ... ok
  887. CheckDeregisterCollation (sqlite3.test.hooks.CollationTests) ... ok
  888. CheckCancelOperation (sqlite3.test.hooks.ProgressTests) ... ok
  889. CheckClearHandler (sqlite3.test.hooks.ProgressTests) ... ok
  890. CheckOpcodeCount (sqlite3.test.hooks.ProgressTests) ... FAIL
  891. CheckProgressHandlerUsed (sqlite3.test.hooks.ProgressTests) ... ok
  892. CheckClearTraceCallback (sqlite3.test.hooks.TraceCallbackTests) ... ok
  893. CheckTraceCallbackUsed (sqlite3.test.hooks.TraceCallbackTests) ... ok
  894. CheckUnicodeContent (sqlite3.test.hooks.TraceCallbackTests) ... ok
  895. CheckAutoCommit (sqlite3.test.regression.RegressionTests) ... ok
  896. CheckCollation (sqlite3.test.regression.RegressionTests) ... ok
  897. CheckColumnNameWithSpaces (sqlite3.test.regression.RegressionTests) ... ok
  898. CheckConnectionCall (sqlite3.test.regression.RegressionTests) ... ok
  899. CheckConnectionConstructorCallCheck (sqlite3.test.regression.RegressionTests) ... ok
  900. CheckConvertTimestampMicrosecondPadding (sqlite3.test.regression.RegressionTests) ... ok
  901. CheckCursorConstructorCallCheck (sqlite3.test.regression.RegressionTests) ... ok
  902. CheckCursorRegistration (sqlite3.test.regression.RegressionTests) ... ok
  903. CheckEmptyStatement (sqlite3.test.regression.RegressionTests) ... ok
  904. CheckErrorMsgDecodeError (sqlite3.test.regression.RegressionTests) ... ok
  905. CheckInvalidIsolationLevelType (sqlite3.test.regression.RegressionTests) ... ok
  906. CheckOnConflictRollback (sqlite3.test.regression.RegressionTests) ... ok
  907. CheckPragmaAutocommit (sqlite3.test.regression.RegressionTests) ... ok
  908. CheckPragmaSchemaVersion (sqlite3.test.regression.RegressionTests) ... ok
  909. CheckPragmaUserVersion (sqlite3.test.regression.RegressionTests) ... ok
  910. CheckRecursiveCursorUse (sqlite3.test.regression.RegressionTests) ... ok
  911. CheckRegisterAdapter (sqlite3.test.regression.RegressionTests) ... ok
  912. CheckSetDict (sqlite3.test.regression.RegressionTests) ... ok
  913. CheckSetIsolationLevel (sqlite3.test.regression.RegressionTests) ... ok
  914. CheckStatementFinalizationOnCloseDb (sqlite3.test.regression.RegressionTests) ... ok
  915. CheckStatementReset (sqlite3.test.regression.RegressionTests) ... ok
  916. CheckStrSubclass (sqlite3.test.regression.RegressionTests) ... ok
  917. CheckTypeMapUsage (sqlite3.test.regression.RegressionTests) ... ok
  918. CheckWorkaroundForBuggySqliteTransferBindings (sqlite3.test.regression.RegressionTests) ... ok
  919. CheckTableDump (sqlite3.test.dump.DumpTests) ... ok
  920. CheckUnorderableRow (sqlite3.test.dump.DumpTests) ... test test_sqlite failed
  921. ok
  922. ======================================================================
  923. FAIL: CheckOpcodeCount (sqlite3.test.hooks.ProgressTests)
  924. ----------------------------------------------------------------------
  925. Traceback (most recent call last):
  926. File "/home/daniel/Downloads/Python-3.4.0/Lib/sqlite3/test/hooks.py", line 165, in CheckOpcodeCount
  927. self.assertGreater(first_count, second_count)
  928. AssertionError: 5 not greater than 5
  929. ----------------------------------------------------------------------
  930. Ran 233 tests in 0.354s
  931. FAILED (failures=1, skipped=1)
  932. Re-running test 'test_urllib2' in verbose mode
  933. 122 items had no tests:
  934. test.test_urllib2
  935. test.test_urllib2.FakeMethod
  936. test.test_urllib2.FakeMethod.__call__
  937. test.test_urllib2.FakeMethod.__init__
  938. test.test_urllib2.HandlerTests
  939. test.test_urllib2.HandlerTests._test_basic_auth
  940. test.test_urllib2.HandlerTests.test_basic_and_digest_auth_handlers
  941. test.test_urllib2.HandlerTests.test_basic_auth
  942. test.test_urllib2.HandlerTests.test_basic_auth_with_single_quoted_realm
  943. test.test_urllib2.HandlerTests.test_basic_auth_with_unquoted_realm
  944. test.test_urllib2.HandlerTests.test_cookie_redirect
  945. test.test_urllib2.HandlerTests.test_cookies
  946. test.test_urllib2.HandlerTests.test_errors
  947. test.test_urllib2.HandlerTests.test_file
  948. test.test_urllib2.HandlerTests.test_fixpath_in_weirdurls
  949. test.test_urllib2.HandlerTests.test_ftp
  950. test.test_urllib2.HandlerTests.test_full_url_deleter
  951. test.test_urllib2.HandlerTests.test_full_url_setter
  952. test.test_urllib2.HandlerTests.test_http
  953. test.test_urllib2.HandlerTests.test_http_doubleslash
  954. test.test_urllib2.HandlerTests.test_invalid_redirect
  955. test.test_urllib2.HandlerTests.test_osx_proxy_bypass
  956. test.test_urllib2.HandlerTests.test_proxy
  957. test.test_urllib2.HandlerTests.test_proxy_basic_auth
  958. test.test_urllib2.HandlerTests.test_proxy_https
  959. test.test_urllib2.HandlerTests.test_proxy_https_proxy_authorization
  960. test.test_urllib2.HandlerTests.test_proxy_no_proxy
  961. test.test_urllib2.HandlerTests.test_proxy_no_proxy_all
  962. test.test_urllib2.HandlerTests.test_redirect
  963. test.test_urllib2.HandlerTests.test_redirect_fragment
  964. test.test_urllib2.HandlerTests.test_relative_redirect
  965. test.test_urllib2.HandlerTests.test_unsupported_auth_basic_handler
  966. test.test_urllib2.HandlerTests.test_unsupported_auth_digest_handler
  967. test.test_urllib2.MiscTests
  968. test.test_urllib2.MiscTests.opener_has_handler
  969. test.test_urllib2.MiscTests.test_HTTPError_interface
  970. test.test_urllib2.MiscTests.test_build_opener
  971. test.test_urllib2.MiscTests.test_issue16464
  972. test.test_urllib2.MockCookieJar
  973. test.test_urllib2.MockCookieJar.add_cookie_header
  974. test.test_urllib2.MockCookieJar.extract_cookies
  975. test.test_urllib2.MockFile
  976. test.test_urllib2.MockFile.close
  977. test.test_urllib2.MockFile.read
  978. test.test_urllib2.MockFile.readline
  979. test.test_urllib2.MockHTTPClass
  980. test.test_urllib2.MockHTTPClass.__call__
  981. test.test_urllib2.MockHTTPClass.__init__
  982. test.test_urllib2.MockHTTPClass.close
  983. test.test_urllib2.MockHTTPClass.getresponse
  984. test.test_urllib2.MockHTTPClass.request
  985. test.test_urllib2.MockHTTPClass.set_debuglevel
  986. test.test_urllib2.MockHTTPClass.set_tunnel
  987. test.test_urllib2.MockHTTPHandler
  988. test.test_urllib2.MockHTTPHandler.__init__
  989. test.test_urllib2.MockHTTPHandler.http_open
  990. test.test_urllib2.MockHTTPHandler.reset
  991. test.test_urllib2.MockHTTPResponse
  992. test.test_urllib2.MockHTTPResponse.__init__
  993. test.test_urllib2.MockHTTPResponse.geturl
  994. test.test_urllib2.MockHTTPResponse.info
  995. test.test_urllib2.MockHTTPResponse.read
  996. test.test_urllib2.MockHTTPSHandler
  997. test.test_urllib2.MockHTTPSHandler.__init__
  998. test.test_urllib2.MockHTTPSHandler.https_open
  999. test.test_urllib2.MockHandler
  1000. test.test_urllib2.MockHandler.__init__
  1001. test.test_urllib2.MockHandler.__lt__
  1002. test.test_urllib2.MockHandler._define_methods
  1003. test.test_urllib2.MockHandler.add_parent
  1004. test.test_urllib2.MockHandler.close
  1005. test.test_urllib2.MockHandler.handle
  1006. test.test_urllib2.MockHeaders
  1007. test.test_urllib2.MockHeaders.getheaders
  1008. test.test_urllib2.MockOpener
  1009. test.test_urllib2.MockOpener.error
  1010. test.test_urllib2.MockOpener.open
  1011. test.test_urllib2.MockPasswordManager
  1012. test.test_urllib2.MockPasswordManager.add_password
  1013. test.test_urllib2.MockPasswordManager.find_user_password
  1014. test.test_urllib2.MockResponse
  1015. test.test_urllib2.MockResponse.__init__
  1016. test.test_urllib2.MockResponse.geturl
  1017. test.test_urllib2.MockResponse.info
  1018. test.test_urllib2.OpenerDirectorTests
  1019. test.test_urllib2.OpenerDirectorTests.test_add_non_handler
  1020. test.test_urllib2.OpenerDirectorTests.test_badly_named_methods
  1021. test.test_urllib2.OpenerDirectorTests.test_handled
  1022. test.test_urllib2.OpenerDirectorTests.test_handler_order
  1023. test.test_urllib2.OpenerDirectorTests.test_http_error
  1024. test.test_urllib2.OpenerDirectorTests.test_processors
  1025. test.test_urllib2.OpenerDirectorTests.test_raise
  1026. test.test_urllib2.RequestHdrsTests
  1027. test.test_urllib2.RequestHdrsTests.test_password_manager
  1028. test.test_urllib2.RequestHdrsTests.test_password_manager_default_port
  1029. test.test_urllib2.RequestHdrsTests.test_request_headers_dict
  1030. test.test_urllib2.RequestHdrsTests.test_request_headers_methods
  1031. test.test_urllib2.RequestTests
  1032. test.test_urllib2.RequestTests.PutRequest
  1033. test.test_urllib2.RequestTests.setUp
  1034. test.test_urllib2.RequestTests.test_data
  1035. test.test_urllib2.RequestTests.test_deleting_data_should_remove_content_length
  1036. test.test_urllib2.RequestTests.test_get_full_url
  1037. test.test_urllib2.RequestTests.test_get_host
  1038. test.test_urllib2.RequestTests.test_get_host_unquote
  1039. test.test_urllib2.RequestTests.test_get_type
  1040. test.test_urllib2.RequestTests.test_method
  1041. test.test_urllib2.RequestTests.test_proxy
  1042. test.test_urllib2.RequestTests.test_selector
  1043. test.test_urllib2.RequestTests.test_setting_data_should_remove_content_length
  1044. test.test_urllib2.RequestTests.test_url_fragment
  1045. test.test_urllib2.RequestTests.test_url_fullurl_get_full_url
  1046. test.test_urllib2.RequestTests.test_wrapped_url
  1047. test.test_urllib2.TrivialTests
  1048. test.test_urllib2.TrivialTests.test_URLError_reasonstr
  1049. test.test_urllib2.TrivialTests.test___all__
  1050. test.test_urllib2.TrivialTests.test_parse_http_list
  1051. test.test_urllib2.TrivialTests.test_trivial
  1052. test.test_urllib2.add_ordered_mock_handlers
  1053. test.test_urllib2.build_test_opener
  1054. test.test_urllib2.sanepathname2url
  1055. test.test_urllib2.test_main
  1056. 0 tests in 122 items.
  1057. 0 passed and 0 failed.
  1058. Test passed.
  1059. doctest (test.test_urllib2) ... 0 tests with zero failures
  1060. Trying:
  1061. _parse_proxy('file:/ftp.example.com/')
  1062. Expecting:
  1063. Traceback (most recent call last):
  1064. ValueError: proxy URL with no authority: 'file:/ftp.example.com/'
  1065. ok
  1066. Trying:
  1067. _parse_proxy('proxy.example.com')
  1068. Expecting:
  1069. (None, None, None, 'proxy.example.com')
  1070. ok
  1071. Trying:
  1072. _parse_proxy('proxy.example.com:3128')
  1073. Expecting:
  1074. (None, None, None, 'proxy.example.com:3128')
  1075. ok
  1076. Trying:
  1077. Expecting:
  1078. (None, 'joe', 'password', 'proxy.example.com')
  1079. ok
  1080. Trying:
  1081. Expecting:
  1082. (None, 'joe', 'password', 'proxy.example.com:3128')
  1083. ok
  1084. Trying:
  1085. _parse_proxy('http://proxy.example.com/')
  1086. Expecting:
  1087. ('http', None, None, 'proxy.example.com')
  1088. ok
  1089. Trying:
  1090. _parse_proxy('http://proxy.example.com:3128/')
  1091. Expecting:
  1092. ('http', None, None, 'proxy.example.com:3128')
  1093. ok
  1094. Trying:
  1095. Expecting:
  1096. ('http', 'joe', 'password', 'proxy.example.com')
  1097. ok
  1098. Trying:
  1099. Expecting:
  1100. ('http', 'joe', 'password', 'proxy.example.com:3128')
  1101. ok
  1102. Trying:
  1103. Expecting:
  1104. ('ftp', 'joe', 'password', 'proxy.example.com')
  1105. ok
  1106. Trying:
  1107. Expecting:
  1108. ('http', 'joe', 'password', 'proxy.example.com')
  1109. ok
  1110. 157 items had no tests:
  1111. urllib.request
  1112. urllib.request.AbstractBasicAuthHandler
  1113. urllib.request.AbstractBasicAuthHandler.__init__
  1114. urllib.request.AbstractBasicAuthHandler.http_error_auth_reqed
  1115. urllib.request.AbstractBasicAuthHandler.reset_retry_count
  1116. urllib.request.AbstractBasicAuthHandler.retry_http_basic_auth
  1117. urllib.request.AbstractDigestAuthHandler
  1118. urllib.request.AbstractDigestAuthHandler.__init__
  1119. urllib.request.AbstractDigestAuthHandler.get_algorithm_impls
  1120. urllib.request.AbstractDigestAuthHandler.get_authorization
  1121. urllib.request.AbstractDigestAuthHandler.get_cnonce
  1122. urllib.request.AbstractDigestAuthHandler.get_entity_digest
  1123. urllib.request.AbstractDigestAuthHandler.http_error_auth_reqed
  1124. urllib.request.AbstractDigestAuthHandler.reset_retry_count
  1125. urllib.request.AbstractDigestAuthHandler.retry_http_digest_auth
  1126. urllib.request.AbstractHTTPHandler
  1127. urllib.request.AbstractHTTPHandler.__init__
  1128. urllib.request.AbstractHTTPHandler.do_open
  1129. urllib.request.AbstractHTTPHandler.set_http_debuglevel
  1130. urllib.request.BaseHandler
  1131. urllib.request.BaseHandler.__lt__
  1132. urllib.request.BaseHandler.add_parent
  1133. urllib.request.BaseHandler.close
  1134. urllib.request.CacheFTPHandler
  1135. urllib.request.CacheFTPHandler.__init__
  1136. urllib.request.CacheFTPHandler.check_cache
  1137. urllib.request.CacheFTPHandler.clear_cache
  1138. urllib.request.CacheFTPHandler.connect_ftp
  1139. urllib.request.CacheFTPHandler.setMaxConns
  1140. urllib.request.CacheFTPHandler.setTimeout
  1141. urllib.request.DataHandler
  1142. urllib.request.DataHandler.data_open
  1143. urllib.request.FTPHandler
  1144. urllib.request.FTPHandler.connect_ftp
  1145. urllib.request.FTPHandler.ftp_open
  1146. urllib.request.FancyURLopener
  1147. urllib.request.FancyURLopener.__init__
  1148. urllib.request.FancyURLopener.get_user_passwd
  1149. urllib.request.FancyURLopener.http_error_301
  1150. urllib.request.FancyURLopener.http_error_302
  1151. urllib.request.FancyURLopener.http_error_303
  1152. urllib.request.FancyURLopener.http_error_307
  1153. urllib.request.FancyURLopener.http_error_401
  1154. urllib.request.FancyURLopener.http_error_407
  1155. urllib.request.FancyURLopener.http_error_default
  1156. urllib.request.FancyURLopener.prompt_user_passwd
  1157. urllib.request.FancyURLopener.redirect_internal
  1158. urllib.request.FancyURLopener.retry_http_basic_auth
  1159. urllib.request.FancyURLopener.retry_https_basic_auth
  1160. urllib.request.FancyURLopener.retry_proxy_http_basic_auth
  1161. urllib.request.FancyURLopener.retry_proxy_https_basic_auth
  1162. urllib.request.FileHandler
  1163. urllib.request.FileHandler.file_open
  1164. urllib.request.FileHandler.get_names
  1165. urllib.request.FileHandler.open_local_file
  1166. urllib.request.HTTPBasicAuthHandler
  1167. urllib.request.HTTPBasicAuthHandler.http_error_401
  1168. urllib.request.HTTPCookieProcessor
  1169. urllib.request.HTTPCookieProcessor.__init__
  1170. urllib.request.HTTPCookieProcessor.https_request
  1171. urllib.request.HTTPCookieProcessor.https_response
  1172. urllib.request.HTTPDefaultErrorHandler
  1173. urllib.request.HTTPDefaultErrorHandler.http_error_default
  1174. urllib.request.HTTPDigestAuthHandler
  1175. urllib.request.HTTPDigestAuthHandler.http_error_401
  1176. urllib.request.HTTPErrorProcessor
  1177. urllib.request.HTTPErrorProcessor.http_response
  1178. urllib.request.HTTPHandler
  1179. urllib.request.HTTPHandler.http_open
  1180. urllib.request.HTTPHandler.http_request
  1181. urllib.request.HTTPPasswordMgr
  1182. urllib.request.HTTPPasswordMgr.__init__
  1183. urllib.request.HTTPPasswordMgr.add_password
  1184. urllib.request.HTTPPasswordMgr.find_user_password
  1185. urllib.request.HTTPPasswordMgr.is_suburi
  1186. urllib.request.HTTPPasswordMgr.reduce_uri
  1187. urllib.request.HTTPPasswordMgrWithDefaultRealm
  1188. urllib.request.HTTPPasswordMgrWithDefaultRealm.find_user_password
  1189. urllib.request.HTTPRedirectHandler
  1190. urllib.request.HTTPRedirectHandler.http_error_301
  1191. urllib.request.HTTPRedirectHandler.redirect_request
  1192. urllib.request.OpenerDirector
  1193. urllib.request.OpenerDirector.__init__
  1194. urllib.request.OpenerDirector._call_chain
  1195. urllib.request.OpenerDirector._open
  1196. urllib.request.OpenerDirector.add_handler
  1197. urllib.request.OpenerDirector.close
  1198. urllib.request.OpenerDirector.error
  1199. urllib.request.OpenerDirector.open
  1200. urllib.request.ProxyBasicAuthHandler
  1201. urllib.request.ProxyBasicAuthHandler.http_error_407
  1202. urllib.request.ProxyDigestAuthHandler
  1203. urllib.request.ProxyDigestAuthHandler.http_error_407
  1204. urllib.request.ProxyHandler
  1205. urllib.request.ProxyHandler.__init__
  1206. urllib.request.ProxyHandler.proxy_open
  1207. urllib.request.Request
  1208. urllib.request.Request.__init__
  1209. urllib.request.Request._parse
  1210. urllib.request.Request.add_header
  1211. urllib.request.Request.add_unredirected_header
  1212. urllib.request.Request.data
  1213. urllib.request.Request.full_url
  1214. urllib.request.Request.get_full_url
  1215. urllib.request.Request.get_header
  1216. urllib.request.Request.get_method
  1217. urllib.request.Request.has_header
  1218. urllib.request.Request.has_proxy
  1219. urllib.request.Request.header_items
  1220. urllib.request.Request.remove_header
  1221. urllib.request.Request.set_proxy
  1222. urllib.request.URLopener
  1223. urllib.request.URLopener.__del__
  1224. urllib.request.URLopener.__init__
  1225. urllib.request.URLopener._open_generic_http
  1226. urllib.request.URLopener.addheader
  1227. urllib.request.URLopener.cleanup
  1228. urllib.request.URLopener.close
  1229. urllib.request.URLopener.http_error
  1230. urllib.request.URLopener.http_error_default
  1231. urllib.request.URLopener.open
  1232. urllib.request.URLopener.open_data
  1233. urllib.request.URLopener.open_file
  1234. urllib.request.URLopener.open_ftp
  1235. urllib.request.URLopener.open_http
  1236. urllib.request.URLopener.open_local_file
  1237. urllib.request.URLopener.open_unknown
  1238. urllib.request.URLopener.open_unknown_proxy
  1239. urllib.request.URLopener.retrieve
  1240. urllib.request.UnknownHandler
  1241. urllib.request.UnknownHandler.unknown_open
  1242. urllib.request._proxy_bypass_macosx_sysconf
  1243. urllib.request._safe_gethostbyname
  1244. urllib.request.build_opener
  1245. urllib.request.ftperrors
  1246. urllib.request.ftpwrapper
  1247. urllib.request.ftpwrapper.__init__
  1248. urllib.request.ftpwrapper.close
  1249. urllib.request.ftpwrapper.endtransfer
  1250. urllib.request.ftpwrapper.file_close
  1251. urllib.request.ftpwrapper.init
  1252. urllib.request.ftpwrapper.real_close
  1253. urllib.request.ftpwrapper.retrfile
  1254. urllib.request.getproxies
  1255. urllib.request.install_opener
  1256. urllib.request.localhost
  1257. urllib.request.noheaders
  1258. urllib.request.parse_http_list
  1259. urllib.request.parse_keqv_list
  1260. urllib.request.pathname2url
  1261. urllib.request.proxy_bypass
  1262. urllib.request.request_host
  1263. urllib.request.thishost
  1264. urllib.request.url2pathname
  1265. urllib.request.urlcleanup
  1266. urllib.request.urlopen
  1267. urllib.request.urlretrieve
  1268. 1 items passed all tests:
  1269. 11 tests in urllib.request._parse_proxy
  1270. 11 tests in 158 items.
  1271. 11 passed and 0 failed.
  1272. Test passed.
  1273. doctest (urllib.request) ... 11 tests with zero failures
  1274. test_URLError_reasonstr (test.test_urllib2.TrivialTests) ... ok
  1275. test___all__ (test.test_urllib2.TrivialTests) ... ok
  1276. test_parse_http_list (test.test_urllib2.TrivialTests) ... ok
  1277. test_trivial (test.test_urllib2.TrivialTests) ... ok
  1278. test_add_non_handler (test.test_urllib2.OpenerDirectorTests) ... ok
  1279. test_badly_named_methods (test.test_urllib2.OpenerDirectorTests) ... ok
  1280. test_handled (test.test_urllib2.OpenerDirectorTests) ... ok
  1281. test_handler_order (test.test_urllib2.OpenerDirectorTests) ... ok
  1282. test_http_error (test.test_urllib2.OpenerDirectorTests) ... ok
  1283. test_processors (test.test_urllib2.OpenerDirectorTests) ... ok
  1284. test_raise (test.test_urllib2.OpenerDirectorTests) ... ok
  1285. test_basic_and_digest_auth_handlers (test.test_urllib2.HandlerTests) ... ok
  1286. test_basic_auth (test.test_urllib2.HandlerTests) ... ok
  1287. test_basic_auth_with_single_quoted_realm (test.test_urllib2.HandlerTests) ... ok
  1288. test_basic_auth_with_unquoted_realm (test.test_urllib2.HandlerTests) ... ok
  1289. test_cookie_redirect (test.test_urllib2.HandlerTests) ... ok
  1290. test_cookies (test.test_urllib2.HandlerTests) ... ok
  1291. test_errors (test.test_urllib2.HandlerTests) ... ok
  1292. test_file (test.test_urllib2.HandlerTests) ... ok
  1293. test_fixpath_in_weirdurls (test.test_urllib2.HandlerTests) ... ok
  1294. test_ftp (test.test_urllib2.HandlerTests) ... ok
  1295. test_full_url_deleter (test.test_urllib2.HandlerTests) ... ok
  1296. test_full_url_setter (test.test_urllib2.HandlerTests) ... ok
  1297. test_http (test.test_urllib2.HandlerTests) ... ok
  1298. test_http_doubleslash (test.test_urllib2.HandlerTests) ... ok
  1299. test_invalid_redirect (test.test_urllib2.HandlerTests) ... ok
  1300. test_osx_proxy_bypass (test.test_urllib2.HandlerTests) ... skipped 'only relevant for OSX'
  1301. test_proxy (test.test_urllib2.HandlerTests) ... ok
  1302. test_proxy_basic_auth (test.test_urllib2.HandlerTests) ... ok
  1303. test_proxy_https (test.test_urllib2.HandlerTests) ... ok
  1304. test_proxy_https_proxy_authorization (test.test_urllib2.HandlerTests) ... ok
  1305. test_proxy_no_proxy (test.test_urllib2.HandlerTests) ... ok
  1306. test_proxy_no_proxy_all (test.test_urllib2.HandlerTests) ... ok
  1307. test_redirect (test.test_urllib2.HandlerTests) ... ok
  1308. test_redirect_fragment (test.test_urllib2.HandlerTests) ... ok
  1309. test_relative_redirect (test.test_urllib2.HandlerTests) ... ok
  1310. test_unsupported_auth_basic_handler (test.test_urllib2.HandlerTests) ... ok
  1311. test_unsupported_auth_digest_handler (test.test_urllib2.HandlerTests) ... ok
  1312. test_HTTPError_interface (test.test_urllib2.MiscTests) ... ok
  1313. test_build_opener (test.test_urllib2.MiscTests) ... ok
  1314. test_issue16464 (test.test_urllib2.MiscTests) ... ERROR
  1315. test_data (test.test_urllib2.RequestTests) ... ok
  1316. test_deleting_data_should_remove_content_length (test.test_urllib2.RequestTests) ... ok
  1317. test_get_full_url (test.test_urllib2.RequestTests) ... ok
  1318. test_get_host (test.test_urllib2.RequestTests) ... ok
  1319. test_get_host_unquote (test.test_urllib2.RequestTests) ... ok
  1320. test_get_type (test.test_urllib2.RequestTests) ... ok
  1321. test_method (test.test_urllib2.RequestTests) ... ok
  1322. test_proxy (test.test_urllib2.RequestTests) ... ok
  1323. test_selector (test.test_urllib2.RequestTests) ... ok
  1324. test_setting_data_should_remove_content_length (test.test_urllib2.RequestTests) ... ok
  1325. test_url_fragment (test.test_urllib2.RequestTests) ... ok
  1326. test_url_fullurl_get_full_url (test.test_urllib2.RequestTests) ... ok
  1327. test_wrapped_url (test.test_urllib2.RequestTests) ... ok
  1328. test_password_manager (test.test_urllib2.RequestHdrsTests) ... ok
  1329. test_password_manager_default_port (test.test_urllib2.RequestHdrsTests) ... ok
  1330. test_request_headers_dict (test.test_urllib2.RequestHdrsTests) ... ok
  1331. test_request_headers_methods (test.test_urllib2.RequestHdrsTests) ... test test_urllib2 failed
  1332. ok
  1333. ======================================================================
  1334. ERROR: test_issue16464 (test.test_urllib2.MiscTests)
  1335. ----------------------------------------------------------------------
  1336. Traceback (most recent call last):
  1337. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2.py", line 1445, in test_issue16464
  1338. opener.open(request, "1".encode("us-ascii"))
  1339. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1340. response = meth(req, response)
  1341. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1342. 'http', request, response, code, msg, hdrs)
  1343. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1344. result = self._call_chain(*args)
  1345. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1346. result = func(*args)
  1347. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1348. return self.parent.open(new, timeout=req.timeout)
  1349. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1350. response = self._open(req, data)
  1351. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1352. 'unknown_open', req)
  1353. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1354. result = func(*args)
  1355. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1356. raise URLError('unknown url type: %s' % type)
  1357. urllib.error.URLError:
  1358. ----------------------------------------------------------------------
  1359. Ran 58 tests in 0.169s
  1360. FAILED (errors=1, skipped=1)
  1361. Re-running test 'test_urllib2net' in verbose mode
  1362. test_close (test.test_urllib2net.CloseSocketTest) ... ERROR
  1363. test_custom_headers (test.test_urllib2net.OtherNetworkTests) ... ok
  1364. test_file (test.test_urllib2net.OtherNetworkTests) ... ok
  1365. test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok
  1366. test_redirect_url_withfrag (test.test_urllib2net.OtherNetworkTests) ... ok
  1367. test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests) ... ok
  1368. test_urlwithfrag (test.test_urllib2net.OtherNetworkTests) ... ok
  1369. test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ok
  1370. test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ok
  1371. test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ok
  1372. test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ok
  1373. test_http_basic (test.test_urllib2net.TimeoutTest) ... ERROR
  1374. test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
  1375. test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
  1376. test_http_timeout (test.test_urllib2net.TimeoutTest) ... ERROR
  1377. ======================================================================
  1378. ERROR: test_close (test.test_urllib2net.CloseSocketTest)
  1379. ----------------------------------------------------------------------
  1380. Traceback (most recent call last):
  1381. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 88, in test_close
  1382. response = _urlopen_with_retry(url)
  1383. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped
  1384. return _retry_thrice(func, exc, *args, **kwargs)
  1385. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice
  1386. raise last_exc
  1387. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
  1388. return func(*args, **kwargs)
  1389. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1390. return opener.open(url, data, timeout)
  1391. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1392. response = meth(req, response)
  1393. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1394. 'http', request, response, code, msg, hdrs)
  1395. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1396. result = self._call_chain(*args)
  1397. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1398. result = func(*args)
  1399. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1400. return self.parent.open(new, timeout=req.timeout)
  1401. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1402. response = self._open(req, data)
  1403. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1404. 'unknown_open', req)
  1405. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1406. result = func(*args)
  1407. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1408. raise URLError('unknown url type: %s' % type)
  1409. urllib.error.URLError:
  1410. ======================================================================
  1411. ERROR: test_http_basic (test.test_urllib2net.TimeoutTest)
  1412. ----------------------------------------------------------------------
  1413. Traceback (most recent call last):
  1414. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 268, in test_http_basic
  1415. u = _urlopen_with_retry(url)
  1416. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped
  1417. return _retry_thrice(func, exc, *args, **kwargs)
  1418. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice
  1419. raise last_exc
  1420. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
  1421. return func(*args, **kwargs)
  1422. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1423. return opener.open(url, data, timeout)
  1424. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1425. response = meth(req, response)
  1426. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1427. 'http', request, response, code, msg, hdrs)
  1428. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1429. result = self._call_chain(*args)
  1430. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1431. result = func(*args)
  1432. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1433. return self.parent.open(new, timeout=req.timeout)
  1434. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1435. response = self._open(req, data)
  1436. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1437. 'unknown_open', req)
  1438. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1439. result = func(*args)
  1440. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1441. raise URLError('unknown url type: %s' % type)
  1442. urllib.error.URLError:
  1443. ======================================================================
  1444. ERROR: test_http_default_timeout (test.test_urllib2net.TimeoutTest)
  1445. ----------------------------------------------------------------------
  1446. Traceback (most recent call last):
  1447. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 278, in test_http_default_timeout
  1448. u = _urlopen_with_retry(url)
  1449. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped
  1450. return _retry_thrice(func, exc, *args, **kwargs)
  1451. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice
  1452. raise last_exc
  1453. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
  1454. return func(*args, **kwargs)
  1455. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1456. return opener.open(url, data, timeout)
  1457. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1458. response = meth(req, response)
  1459. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1460. 'http', request, response, code, msg, hdrs)
  1461. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1462. result = self._call_chain(*args)
  1463. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1464. result = func(*args)
  1465. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1466. return self.parent.open(new, timeout=req.timeout)
  1467. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1468. response = self._open(req, data)
  1469. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1470. 'unknown_open', req)
  1471. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1472. result = func(*args)
  1473. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1474. raise URLError('unknown url type: %s' % type)
  1475. urllib.error.URLError:
  1476. ======================================================================
  1477. ERROR: test_http_no_timeout (test.test_urllib2net.TimeoutTest)
  1478. ----------------------------------------------------------------------
  1479. Traceback (most recent call last):
  1480. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 290, in test_http_no_timeout
  1481. u = _urlopen_with_retry(url, timeout=None)
  1482. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped
  1483. return _retry_thrice(func, exc, *args, **kwargs)
  1484. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice
  1485. raise last_exc
  1486. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
  1487. return func(*args, **kwargs)
  1488. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1489. return opener.open(url, data, timeout)
  1490. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1491. response = meth(req, response)
  1492. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1493. 'http', request, response, code, msg, hdrs)
  1494. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1495. result = self._call_chain(*args)
  1496. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1497. result = func(*args)
  1498. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1499. return self.parent.open(new, timeout=req.timeout)
  1500. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1501. response = self._open(req, data)
  1502. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1503. 'unknown_open', req)
  1504. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1505. result = func(*args)
  1506. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1507. raise URLError('unknown url type: %s' % type)
  1508. urllib.error.URLError:
  1509. test test_urllib2net failed
  1510. ======================================================================
  1511. ERROR: test_http_timeout (test.test_urllib2net.TimeoutTest)
  1512. ----------------------------------------------------------------------
  1513. Traceback (most recent call last):
  1514. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 299, in test_http_timeout
  1515. u = _urlopen_with_retry(url, timeout=120)
  1516. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 33, in wrapped
  1517. return _retry_thrice(func, exc, *args, **kwargs)
  1518. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 29, in _retry_thrice
  1519. raise last_exc
  1520. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
  1521. return func(*args, **kwargs)
  1522. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1523. return opener.open(url, data, timeout)
  1524. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1525. response = meth(req, response)
  1526. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1527. 'http', request, response, code, msg, hdrs)
  1528. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1529. result = self._call_chain(*args)
  1530. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1531. result = func(*args)
  1532. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1533. return self.parent.open(new, timeout=req.timeout)
  1534. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1535. response = self._open(req, data)
  1536. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1537. 'unknown_open', req)
  1538. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1539. result = func(*args)
  1540. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1541. raise URLError('unknown url type: %s' % type)
  1542. urllib.error.URLError:
  1543. ----------------------------------------------------------------------
  1544. Ran 15 tests in 15.671s
  1545. FAILED (errors=5)
  1546. Re-running test 'test_urllibnet' in verbose mode
  1547. testURLread (test.test_urllibnet.URLTimeoutTest) ... ERROR
  1548. test_bad_address (test.test_urllibnet.urlopenNetworkTests) ... ok
  1549. test_basic (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1550. test_fileno (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1551. test_getcode (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1552. test_geturl (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1553. test_info (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1554. test_readlines (test.test_urllibnet.urlopenNetworkTests) ... ERROR
  1555. test_basic (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
  1556. test_data_header (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
  1557. test_header (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
  1558. test_reporthook (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
  1559. test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR
  1560. ======================================================================
  1561. ERROR: testURLread (test.test_urllibnet.URLTimeoutTest)
  1562. ----------------------------------------------------------------------
  1563. Traceback (most recent call last):
  1564. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 26, in testURLread
  1565. f = urllib.request.urlopen("http://www.python.org/")
  1566. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1567. return opener.open(url, data, timeout)
  1568. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1569. response = meth(req, response)
  1570. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1571. 'http', request, response, code, msg, hdrs)
  1572. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1573. result = self._call_chain(*args)
  1574. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1575. result = func(*args)
  1576. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1577. return self.parent.open(new, timeout=req.timeout)
  1578. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1579. response = self._open(req, data)
  1580. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1581. 'unknown_open', req)
  1582. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1583. result = func(*args)
  1584. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1585. raise URLError('unknown url type: %s' % type)
  1586. urllib.error.URLError:
  1587. ======================================================================
  1588. ERROR: test_basic (test.test_urllibnet.urlopenNetworkTests)
  1589. ----------------------------------------------------------------------
  1590. Traceback (most recent call last):
  1591. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 57, in test_basic
  1592. with self.urlopen("http://www.python.org/") as open_url:
  1593. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1594. return next(self.gen)
  1595. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen
  1596. r = urllib.request.urlopen(*args, **kwargs)
  1597. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1598. return opener.open(url, data, timeout)
  1599. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1600. response = meth(req, response)
  1601. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1602. 'http', request, response, code, msg, hdrs)
  1603. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1604. result = self._call_chain(*args)
  1605. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1606. result = func(*args)
  1607. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1608. return self.parent.open(new, timeout=req.timeout)
  1609. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1610. response = self._open(req, data)
  1611. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1612. 'unknown_open', req)
  1613. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1614. result = func(*args)
  1615. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1616. raise URLError('unknown url type: %s' % type)
  1617. urllib.error.URLError:
  1618. ======================================================================
  1619. ERROR: test_fileno (test.test_urllibnet.urlopenNetworkTests)
  1620. ----------------------------------------------------------------------
  1621. Traceback (most recent call last):
  1622. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 104, in test_fileno
  1623. with self.urlopen("http://www.python.org/", timeout=None) as open_url:
  1624. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1625. return next(self.gen)
  1626. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen
  1627. r = urllib.request.urlopen(*args, **kwargs)
  1628. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1629. return opener.open(url, data, timeout)
  1630. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1631. response = meth(req, response)
  1632. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1633. 'http', request, response, code, msg, hdrs)
  1634. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1635. result = self._call_chain(*args)
  1636. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1637. result = func(*args)
  1638. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1639. return self.parent.open(new, timeout=req.timeout)
  1640. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1641. response = self._open(req, data)
  1642. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1643. 'unknown_open', req)
  1644. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1645. result = func(*args)
  1646. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1647. raise URLError('unknown url type: %s' % type)
  1648. urllib.error.URLError:
  1649. ======================================================================
  1650. ERROR: test_getcode (test.test_urllibnet.urlopenNetworkTests)
  1651. ----------------------------------------------------------------------
  1652. Traceback (most recent call last):
  1653. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1677, in open
  1654. return getattr(self, name)(url)
  1655. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1856, in open_http
  1656. return self._open_generic_http(http.client.HTTPConnection, url, data)
  1657. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1852, in _open_generic_http
  1658. response.status, response.reason, response.msg, data)
  1659. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1868, in http_error
  1660. result = method(url, fp, errcode, errmsg, headers)
  1661. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2089, in http_error_301
  1662. return self.http_error_302(url, fp, errcode, errmsg, headers, data)
  1663. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2055, in http_error_302
  1664. data)
  1665. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2085, in redirect_internal
  1666. return self.open(newurl)
  1667. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1674, in open
  1668. return self.open_unknown(fullurl, data)
  1669. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1688, in open_unknown
  1670. raise OSError('url error', 'unknown url type', type)
  1671. OSError: [Errno url error] unknown url type: 'https'
  1672. During handling of the above exception, another exception occurred:
  1673. Traceback (most recent call last):
  1674. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 92, in test_getcode
  1675. open_url = urllib.request.FancyURLopener().open(URL)
  1676. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1683, in open
  1677. raise OSError('socket error', msg).with_traceback(sys.exc_info()[2])
  1678. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1677, in open
  1679. return getattr(self, name)(url)
  1680. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1856, in open_http
  1681. return self._open_generic_http(http.client.HTTPConnection, url, data)
  1682. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1852, in _open_generic_http
  1683. response.status, response.reason, response.msg, data)
  1684. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1868, in http_error
  1685. result = method(url, fp, errcode, errmsg, headers)
  1686. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2089, in http_error_301
  1687. return self.http_error_302(url, fp, errcode, errmsg, headers, data)
  1688. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2055, in http_error_302
  1689. data)
  1690. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 2085, in redirect_internal
  1691. return self.open(newurl)
  1692. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1674, in open
  1693. return self.open_unknown(fullurl, data)
  1694. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1688, in open_unknown
  1695. raise OSError('url error', 'unknown url type', type)
  1696. OSError: [Errno socket error] [Errno url error] unknown url type: 'https'
  1697. ======================================================================
  1698. ERROR: test_geturl (test.test_urllibnet.urlopenNetworkTests)
  1699. ----------------------------------------------------------------------
  1700. Traceback (most recent call last):
  1701. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 84, in test_geturl
  1702. with self.urlopen(URL) as open_url:
  1703. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1704. return next(self.gen)
  1705. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen
  1706. r = urllib.request.urlopen(*args, **kwargs)
  1707. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1708. return opener.open(url, data, timeout)
  1709. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1710. response = self._open(req, data)
  1711. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1712. 'unknown_open', req)
  1713. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1714. result = func(*args)
  1715. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1716. raise URLError('unknown url type: %s' % type)
  1717. urllib.error.URLError:
  1718. ======================================================================
  1719. ERROR: test_info (test.test_urllibnet.urlopenNetworkTests)
  1720. ----------------------------------------------------------------------
  1721. Traceback (most recent call last):
  1722. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 74, in test_info
  1723. with self.urlopen("http://www.python.org/") as open_url:
  1724. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1725. return next(self.gen)
  1726. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen
  1727. r = urllib.request.urlopen(*args, **kwargs)
  1728. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1729. return opener.open(url, data, timeout)
  1730. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1731. response = meth(req, response)
  1732. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1733. 'http', request, response, code, msg, hdrs)
  1734. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1735. result = self._call_chain(*args)
  1736. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1737. result = func(*args)
  1738. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1739. return self.parent.open(new, timeout=req.timeout)
  1740. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1741. response = self._open(req, data)
  1742. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1743. 'unknown_open', req)
  1744. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1745. result = func(*args)
  1746. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1747. raise URLError('unknown url type: %s' % type)
  1748. urllib.error.URLError:
  1749. ======================================================================
  1750. ERROR: test_readlines (test.test_urllibnet.urlopenNetworkTests)
  1751. ----------------------------------------------------------------------
  1752. Traceback (most recent call last):
  1753. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 66, in test_readlines
  1754. with self.urlopen("http://www.python.org/") as open_url:
  1755. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1756. return next(self.gen)
  1757. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 49, in urlopen
  1758. r = urllib.request.urlopen(*args, **kwargs)
  1759. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1760. return opener.open(url, data, timeout)
  1761. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1762. response = meth(req, response)
  1763. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1764. 'http', request, response, code, msg, hdrs)
  1765. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1766. result = self._call_chain(*args)
  1767. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1768. result = func(*args)
  1769. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1770. return self.parent.open(new, timeout=req.timeout)
  1771. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1772. response = self._open(req, data)
  1773. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1774. 'unknown_open', req)
  1775. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1776. result = func(*args)
  1777. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1778. raise URLError('unknown url type: %s' % type)
  1779. urllib.error.URLError:
  1780. ======================================================================
  1781. ERROR: test_basic (test.test_urllibnet.urlretrieveNetworkTests)
  1782. ----------------------------------------------------------------------
  1783. Traceback (most recent call last):
  1784. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 150, in test_basic
  1785. with self.urlretrieve("http://www.python.org/") as (file_location, info):
  1786. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1787. return next(self.gen)
  1788. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve
  1789. file_location, info = urllib.request.urlretrieve(*args, **kwargs)
  1790. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve
  1791. with contextlib.closing(urlopen(url, data)) as fp:
  1792. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1793. return opener.open(url, data, timeout)
  1794. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1795. response = meth(req, response)
  1796. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1797. 'http', request, response, code, msg, hdrs)
  1798. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1799. result = self._call_chain(*args)
  1800. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1801. result = func(*args)
  1802. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1803. return self.parent.open(new, timeout=req.timeout)
  1804. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1805. response = self._open(req, data)
  1806. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1807. 'unknown_open', req)
  1808. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1809. result = func(*args)
  1810. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1811. raise URLError('unknown url type: %s' % type)
  1812. urllib.error.URLError:
  1813. ======================================================================
  1814. ERROR: test_data_header (test.test_urllibnet.urlretrieveNetworkTests)
  1815. ----------------------------------------------------------------------
  1816. Traceback (most recent call last):
  1817. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 175, in test_data_header
  1818. with self.urlretrieve(self.logo) as (file_location, fileheaders):
  1819. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1820. return next(self.gen)
  1821. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve
  1822. file_location, info = urllib.request.urlretrieve(*args, **kwargs)
  1823. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve
  1824. with contextlib.closing(urlopen(url, data)) as fp:
  1825. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1826. return opener.open(url, data, timeout)
  1827. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1828. response = meth(req, response)
  1829. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1830. 'http', request, response, code, msg, hdrs)
  1831. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1832. result = self._call_chain(*args)
  1833. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1834. result = func(*args)
  1835. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1836. return self.parent.open(new, timeout=req.timeout)
  1837. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1838. response = self._open(req, data)
  1839. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1840. 'unknown_open', req)
  1841. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1842. result = func(*args)
  1843. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1844. raise URLError('unknown url type: %s' % type)
  1845. urllib.error.URLError:
  1846. /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
  1847. open_url = urllib.request.FancyURLopener().open(URL)
  1848. test test_urllibnet failed
  1849. ======================================================================
  1850. ERROR: test_header (test.test_urllibnet.urlretrieveNetworkTests)
  1851. ----------------------------------------------------------------------
  1852. Traceback (most recent call last):
  1853. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 168, in test_header
  1854. with self.urlretrieve("http://www.python.org/") as (file_location, info):
  1855. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1856. return next(self.gen)
  1857. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve
  1858. file_location, info = urllib.request.urlretrieve(*args, **kwargs)
  1859. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve
  1860. with contextlib.closing(urlopen(url, data)) as fp:
  1861. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1862. return opener.open(url, data, timeout)
  1863. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1864. response = meth(req, response)
  1865. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1866. 'http', request, response, code, msg, hdrs)
  1867. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1868. result = self._call_chain(*args)
  1869. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1870. result = func(*args)
  1871. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1872. return self.parent.open(new, timeout=req.timeout)
  1873. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1874. response = self._open(req, data)
  1875. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1876. 'unknown_open', req)
  1877. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1878. result = func(*args)
  1879. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1880. raise URLError('unknown url type: %s' % type)
  1881. urllib.error.URLError:
  1882. ======================================================================
  1883. ERROR: test_reporthook (test.test_urllibnet.urlretrieveNetworkTests)
  1884. ----------------------------------------------------------------------
  1885. Traceback (most recent call last):
  1886. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 188, in test_reporthook
  1887. with self.urlretrieve(self.logo, reporthook=recording_reporthook) as (
  1888. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1889. return next(self.gen)
  1890. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve
  1891. file_location, info = urllib.request.urlretrieve(*args, **kwargs)
  1892. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve
  1893. with contextlib.closing(urlopen(url, data)) as fp:
  1894. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1895. return opener.open(url, data, timeout)
  1896. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1897. response = meth(req, response)
  1898. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1899. 'http', request, response, code, msg, hdrs)
  1900. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1901. result = self._call_chain(*args)
  1902. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1903. result = func(*args)
  1904. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1905. return self.parent.open(new, timeout=req.timeout)
  1906. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1907. response = self._open(req, data)
  1908. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1909. 'unknown_open', req)
  1910. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1911. result = func(*args)
  1912. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1913. raise URLError('unknown url type: %s' % type)
  1914. urllib.error.URLError:
  1915. ======================================================================
  1916. ERROR: test_specified_path (test.test_urllibnet.urlretrieveNetworkTests)
  1917. ----------------------------------------------------------------------
  1918. Traceback (most recent call last):
  1919. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 160, in test_specified_path
  1920. support.TESTFN) as (file_location, info):
  1921. File "/home/daniel/Downloads/Python-3.4.0/Lib/contextlib.py", line 59, in __enter__
  1922. return next(self.gen)
  1923. File "/home/daniel/Downloads/Python-3.4.0/Lib/test/test_urllibnet.py", line 142, in urlretrieve
  1924. file_location, info = urllib.request.urlretrieve(*args, **kwargs)
  1925. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 178, in urlretrieve
  1926. with contextlib.closing(urlopen(url, data)) as fp:
  1927. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 153, in urlopen
  1928. return opener.open(url, data, timeout)
  1929. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 461, in open
  1930. response = meth(req, response)
  1931. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 574, in http_response
  1932. 'http', request, response, code, msg, hdrs)
  1933. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 493, in error
  1934. result = self._call_chain(*args)
  1935. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1936. result = func(*args)
  1937. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 679, in http_error_302
  1938. return self.parent.open(new, timeout=req.timeout)
  1939. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 455, in open
  1940. response = self._open(req, data)
  1941. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 478, in _open
  1942. 'unknown_open', req)
  1943. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 433, in _call_chain
  1944. result = func(*args)
  1945. File "/home/daniel/Downloads/Python-3.4.0/Lib/urllib/request.py", line 1303, in unknown_open
  1946. raise URLError('unknown url type: %s' % type)
  1947. urllib.error.URLError:
  1948. ----------------------------------------------------------------------
  1949. Ran 13 tests in 1.113s
  1950. FAILED (errors=12)
  1951. make: *** [test] Error 1