[New-bugs-announce] [issue20753] disable test_robotparser

Larry Hastings report at bugs.python.org
Mon Feb 24 00:25:13 CET 2014


New submission from Larry Hastings:

Lib/tests/test_robotparser.py uses the following url:
    http://mueblesmoraleda.com/robots.txt

That file now serves a 404.

This should be disabled for 3.4, and the test rewritten for 3.5.  If we get a patch quickly I would probably cherry-pick it for 3.4 final.

Aside: it is REALLY IRRITATING that we have tests in the standard library that hit external web sites.  The standard library regression test suite should *not* rely on network access.  Can the rewritten test please spin up a local web server (http.server) and serve a robotx.txt that way?

----------
messages: 212044
nosy: larry
priority: high
severity: normal
stage: needs patch
status: open
title: disable test_robotparser
type: behavior
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20753>
_______________________________________


More information about the New-bugs-announce mailing list