Daniel Farrell added the comment:
Running the unit tests against the latest code (`hg clone <url>; ./configure;
make; make test`) shows the same errors I described earlier. Patching the code
with issue20939_all_3x.patch fixes all related errors except one.
=======================================================================
FAIL: test_fileno (test.test_urllibnet.urlopenNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/daniel/cpython/Lib/test/test_urllibnet.py", line 107, in
test_fileno
self.assertTrue(f.read(), "reading from file created using fd "
AssertionError: b'' is not true : reading from file created using fd returned
by fileno failed
----------------------------------------------------------------------
Something funky is going on with example.com for this test. I imagine one of
you awesome people will understand this failure quickly. Until then, using a
different non-HTTPS URL seems to work (see attached patch).
----------
keywords: +patch
Added file: http://bugs.python.org/file34630/issue21069.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21069>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com