[Python-checkins] cpython: Use HTTP in testPythonOrg
berker.peksag
python-checkins at python.org
Sun Sep 11 08:46:11 EDT 2016
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/test_robotparser.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_robotparser.py b/Lib/test/test_robotparser.py
--- a/Lib/test/test_robotparser.py
+++ b/Lib/test/test_robotparser.py
@@ -276,7 +276,7 @@
support.requires('network')
with support.transient_internet('www.python.org'):
parser = urllib.robotparser.RobotFileParser(
- "https://www.python.org/robots.txt")
+ "http://www.python.org/robots.txt")
parser.read()
self.assertTrue(
parser.can_fetch("*", "http://www.python.org/robots.txt"))
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list