mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Use HTTP in testPythonOrg
This commit is contained in:
		
							parent
							
								
									fa0c885478
								
							
						
					
					
						commit
						a3c1728bb6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -276,7 +276,7 @@ def testPythonOrg(self): | ||||||
|         support.requires('network') |         support.requires('network') | ||||||
|         with support.transient_internet('www.python.org'): |         with support.transient_internet('www.python.org'): | ||||||
|             parser = urllib.robotparser.RobotFileParser( |             parser = urllib.robotparser.RobotFileParser( | ||||||
|                 "https://www.python.org/robots.txt") |                 "http://www.python.org/robots.txt") | ||||||
|             parser.read() |             parser.read() | ||||||
|             self.assertTrue( |             self.assertTrue( | ||||||
|                 parser.can_fetch("*", "http://www.python.org/robots.txt")) |                 parser.can_fetch("*", "http://www.python.org/robots.txt")) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Berker Peksag
						Berker Peksag