[Python-Dev] [Python-checkins] cpython: Use HTTP in testPythonOrg (original) (raw)
Eric V. Smith eric at trueblade.com
Sun Sep 11 08:58:21 EDT 2016
- Previous message (by thread): [Python-Dev] Python 3.7: remove all private C functions from the Python C API?
- Next message (by thread): [Python-Dev] [Python-checkins] cpython: Use HTTP in testPythonOrg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Berker.
Could you add a comment to the test on why this should use http? I can see this bouncing back and forth between http and https, as people clean an up all http usages to be https.
Thanks. Eric.
On 9/11/2016 8:46 AM, berker.peksag wrote:
https://hg.python.org/cpython/rev/bc085b7e8fd8 changeset: 103634:bc085b7e8fd8 user: Berker Peksag <berker.peksag at gmail.com> date: Sun Sep 11 15:46:47 2016 +0300 summary: Use HTTP in testPythonOrg
files: Lib/test/testrobotparser.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/testrobotparser.py b/Lib/test/testrobotparser.py --- a/Lib/test/testrobotparser.py +++ b/Lib/test/testrobotparser.py @@ -276,7 +276,7 @@ support.requires('network') with support.transientinternet('www.python.org'): parser = urllib.robotparser.RobotFileParser( - "https://www.python.org/robots.txt") + "http://www.python.org/robots.txt") parser.read() self.assertTrue( parser.canfetch("*", "http://www.python.org/robots.txt"))
Python-checkins mailing list Python-checkins at python.org https://mail.python.org/mailman/listinfo/python-checkins
- Previous message (by thread): [Python-Dev] Python 3.7: remove all private C functions from the Python C API?
- Next message (by thread): [Python-Dev] [Python-checkins] cpython: Use HTTP in testPythonOrg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]