Use HTTP in testPythonOrg

This commit is contained in:
Berker Peksag 2016-09-11 15:46:47 +03:00
parent fa0c885478
commit a3c1728bb6
1 changed files with 1 additions and 1 deletions

View File

@ -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"))