New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_urllib2net fails on test_ftp #45498
Labels
tests
Tests in the Lib/test dir
Comments
====================================================================== Traceback (most recent call last):
File "Lib/test/test_urllib2net.py", line 173, in test_ftp
self._test_urls(urls, self._extra_handlers())
File "Lib/test/test_urllib2net.py", line 242, in _test_urls
f = urllib2.urlopen(url, req)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
122, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
378, in open
response = self._open(req, data)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
396, in _open
'_open', req)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
356, in _call_chain
result = func(*args)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
1271, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib2.py", line
1316, in connect_ftp
self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
File "/usr/local/google/home/guido/python/py3k/Lib/urllib.py", line
783, in __init__
self.init()
File "/usr/local/google/home/guido/python/py3k/Lib/urllib.py", line
790, in init
self.ftp.login(self.user, self.passwd)
File "/usr/local/google/home/guido/python/py3k/Lib/ftplib.py", line
372, in login
if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd)
File "/usr/local/google/home/guido/python/py3k/Lib/ftplib.py", line
242, in sendcmd
return self.getresp()
File "/usr/local/google/home/guido/python/py3k/Lib/ftplib.py", line
208, in getresp
resp = self.getmultiline()
File "/usr/local/google/home/guido/python/py3k/Lib/ftplib.py", line
198, in getmultiline
nextline = self.getline()
File "/usr/local/google/home/guido/python/py3k/Lib/ftplib.py", line
181, in getline
line = self.file.readline()
File "/usr/local/google/home/guido/python/py3k/Lib/io.py", line 1319,
in readline
readahead, pending = self._read_chunk()
File "/usr/local/google/home/guido/python/py3k/Lib/io.py", line 1123,
in _read_chunk
pending = self._decoder.decode(readahead, not readahead)
File
"/usr/local/google/home/guido/python/py3k/Lib/encodings/ascii.py", line
26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 47:
ordinal not in range(128) |
The test is passing for me on Ubuntu and Windows. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: