dfarrell07

Python 3.4.0 unittest failures

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