def METHOD_NAME(self):
    test_support.requires('network')
    with test_support.transient_internet('www.python.org'):
        parser = robotparser.RobotFileParser(
            "https://www.python.org/robots.txt")
        parser.read()
        self.assertTrue(
            parser.can_fetch("*", "https://www.python.org/robots.txt"))