summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-11 15:46:47 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-09-11 15:46:47 +0300
commita3c1728bb6641208a9e253af4ffeda23bc464bbe (patch)
treea43a6b1f711d66f38814373a8c87e74e2bf1b0b7
parentfa0c8854789fe0423088dd7d828b83be759a83e6 (diff)
downloadcpython-git-a3c1728bb6641208a9e253af4ffeda23bc464bbe.tar.gz
Use HTTP in testPythonOrg
-rw-r--r--Lib/test/test_robotparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_robotparser.py b/Lib/test/test_robotparser.py
index 27201a0670..d4bf45376a 100644
--- a/Lib/test/test_robotparser.py
+++ b/Lib/test/test_robotparser.py
@@ -276,7 +276,7 @@ class NetworkTestCase(unittest.TestCase):
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"))