From: Berker Peksag Date: Sun, 11 Sep 2016 12:27:07 +0000 (+0300) Subject: Unskip testPythonOrg in test_robotparser X-Git-Tag: v3.6.0b1~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=966ad74bf906aaae32d83e87993926583c51d598;p=thirdparty%2FPython%2Fcpython.git Unskip testPythonOrg in test_robotparser We should probably use pythontest.net for this. --- diff --git a/Lib/test/test_robotparser.py b/Lib/test/test_robotparser.py index 408219979290..27201a0670ba 100644 --- a/Lib/test/test_robotparser.py +++ b/Lib/test/test_robotparser.py @@ -272,12 +272,11 @@ class PasswordProtectedSiteTestCase(unittest.TestCase): class NetworkTestCase(unittest.TestCase): - @unittest.skip('does not handle the gzip encoding delivered by pydotorg') def testPythonOrg(self): support.requires('network') with support.transient_internet('www.python.org'): parser = urllib.robotparser.RobotFileParser( - "http://www.python.org/robots.txt") + "https://www.python.org/robots.txt") parser.read() self.assertTrue( parser.can_fetch("*", "http://www.python.org/robots.txt"))