summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-09-11 12:46:47 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-09-11 12:46:47 (GMT)
commita3c1728bb6641208a9e253af4ffeda23bc464bbe (patch)
treea43a6b1f711d66f38814373a8c87e74e2bf1b0b7 /Lib/test
parentfa0c8854789fe0423088dd7d828b83be759a83e6 (diff)
downloadcpython-a3c1728bb6641208a9e253af4ffeda23bc464bbe.zip
cpython-a3c1728bb6641208a9e253af4ffeda23bc464bbe.tar.gz
cpython-a3c1728bb6641208a9e253af4ffeda23bc464bbe.tar.bz2
Use HTTP in testPythonOrg
Diffstat (limited to 'Lib/test')
-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 27201a0..d4bf453 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"))