[Python-checkins] r79908 - in python/trunk: Lib/test/test_urllib2net.py Misc/NEWS

Brett Cannon brett at python.org
Thu Apr 8 22:13:45 CEST 2010


While in no way critical, at some point we should probably change the
various URLs we use in the test suite to ones under our control. That way we
make sure this doesn't happen and we don't waste bandwidth and CPU cycles on
someone else's machines for our benefit.

On Thu, Apr 8, 2010 at 10:40, martin.v.loewis <python-checkins at python.org>wrote:

> Author: martin.v.loewis
> Date: Thu Apr  8 19:40:54 2010
> New Revision: 79908
>
> Log:
> Issue #8348: Fix test ftp url in test_urllib2net.
>
>
> Modified:
>   python/trunk/Lib/test/test_urllib2net.py
>   python/trunk/Misc/NEWS
>
> Modified: python/trunk/Lib/test/test_urllib2net.py
>
> ==============================================================================
> --- python/trunk/Lib/test/test_urllib2net.py    (original)
> +++ python/trunk/Lib/test/test_urllib2net.py    Thu Apr  8 19:40:54 2010
> @@ -220,7 +220,7 @@
>         u = _urlopen_with_retry("http://www.python.org", timeout=120)
>         self.assertEqual(u.fp._sock.fp._sock.gettimeout(), 120)
>
> -    FTP_HOST = "ftp://ftp.mirror.nl/pub/mirror/gnu/"
> +    FTP_HOST = "ftp://ftp.mirror.nl/pub/gnu/"
>
>     def test_ftp_basic(self):
>         self.assertTrue(socket.getdefaulttimeout() is None)
>
> Modified: python/trunk/Misc/NEWS
>
> ==============================================================================
> --- python/trunk/Misc/NEWS      (original)
> +++ python/trunk/Misc/NEWS      Thu Apr  8 19:40:54 2010
> @@ -58,6 +58,8 @@
>  Library
>  -------
>
> +- Issue #8348: Fix test ftp url in test_urllib2net.
> +
>  - Issue #8204: Fix test_ttk notebook test by forcing focus.
>
>  - Issue #8344: Fix test_ttk bug on FreeBSD.
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20100408/c250752e/attachment.html>


More information about the Python-checkins mailing list