1 test failed: test_urllibnet 2 tests altered the execution environment: test_site test_warnings 17 tests skipped: test_curses test_devpoll test_gdb test_idle test_kqueue test_msilib test_ossaudiodev test_pep277 test_startfile test_tcl test_tk test_ttk_guionly test_ttk_textonly test_unicode_file test_winreg test_winsound test_zipfile64 5 skips unexpected on linux: test_idle test_tcl test_tk test_ttk_guionly test_ttk_textonly Re-running failed tests in verbose mode Re-running test 'test_urllibnet' in verbose mode testURLread (test.test_urllibnet.URLTimeoutTest) ... ok test_bad_address (test.test_urllibnet.urlopenNetworkTests) ... ok test_basic (test.test_urllibnet.urlopenNetworkTests) ... ok test_fileno (test.test_urllibnet.urlopenNetworkTests) ... ERROR test_getcode (test.test_urllibnet.urlopenNetworkTests) ... /tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py:92: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods open_url = urllib.request.FancyURLopener().open(URL) ok test_geturl (test.test_urllibnet.urlopenNetworkTests) ... ok test_info (test.test_urllibnet.urlopenNetworkTests) ... ok test_readlines (test.test_urllibnet.urlopenNetworkTests) ... ok test_basic (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR test_data_header (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR test_header (test.test_urllibnet.urlretrieveNetworkTests) ... ok test_reporthook (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ... ERROR ====================================================================== ERROR: test_fileno (test.test_urllibnet.urlopenNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 107, in test_fileno self.assertTrue(f.read(), "reading from file created using fd " File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/codecs.py", line 301, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte ====================================================================== ERROR: test_basic (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 155, in test_basic self.assertTrue(f.read(), "reading from the file location returned" File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/codecs.py", line 301, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ====================================================================== ERROR: test_data_header (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 176, in test_data_header with self.urlretrieve(self.logo) as (file_location, fileheaders): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/contextlib.py", line 48, in __enter__ return next(self.gen) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 143, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 181, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 156, in urlopen return opener.open(url, data, timeout) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 475, in open response = meth(req, response) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 587, in http_response 'http', request, response, code, msg, hdrs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 507, in error result = self._call_chain(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 447, in _call_chain result = func(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 692, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 475, in open response = meth(req, response) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 587, in http_response 'http', request, response, code, msg, hdrs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 513, in error return self._call_chain(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 447, in _call_chain result = func(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 595, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: NOT FOUND ====================================================================== ERROR: test_reporthook (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 189, in test_reporthook with self.urlretrieve(self.logo, reporthook=recording_reporthook) as ( File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/contextlib.py", line 48, in __enter__ return next(self.gen) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 143, in urlretrieve file_location, info = urllib.request.urlretrieve(*args, **kwargs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 181, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 156, in urlopen return opener.open(url, data, timeout) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 475, in open response = meth(req, response) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 587, in http_response 'http', request, response, code, msg, hdrs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 507, in error result = self._call_chain(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 447, in _call_chain result = func(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 692, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 475, in open response = meth(req, response) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 587, in http_response 'http', request, response, code, msg, hdrs) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 513, in error return self._call_chain(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 447, in _call_chain result = func(*args) File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/urllib/request.py", line 595, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: NOT FOUND ====================================================================== ERROR: test_specified_path (test.test_urllibnet.urlretrieveNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/test/test_urllibnet.py", line 165, in test_specified_path self.assertTrue(f.read(), "reading from temporary file failed") File "/tmp/debbie/python3.3/downloads/Python-3.3.4/Lib/codecs.py", line 301, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte ---------------------------------------------------------------------- Ran 13 tests in 2.297s FAILED (errors=5) test test_urllibnet failed make: *** [test] Error 1