Author dfarrell07
Recipients dfarrell07, r.david.murray
Date 2014-03-27.00:36:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395880560.63.0.0252137184389.issue21069@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-03-27 00:36:00dfarrell07setrecipients: + dfarrell07, r.david.murray
2014-03-27 00:36:00dfarrell07setmessageid: <1395880560.63.0.0252137184389.issue21069@psf.upfronthosting.co.za>
2014-03-27 00:36:00dfarrell07linkissue21069 messages
2014-03-27 00:36:00dfarrell07create