]> granicus.if.org Git - python/commitdiff
Use HTTP in testPythonOrg
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 11 Sep 2016 12:46:47 +0000 (15:46 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 11 Sep 2016 12:46:47 +0000 (15:46 +0300)
Lib/test/test_robotparser.py

index 27201a0670ba873e9204f0bb9905ed44a243751b..d4bf45376acca31093a094423c48ef8731d800e0 100644 (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"))