mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Merged revisions 80277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80277 | senthil.kumaran | 2010-04-21 02:07:59 +0530 (Wed, 21 Apr 2010) | 3 lines Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better. ........
This commit is contained in:
		
							parent
							
								
									712979d292
								
							
						
					
					
						commit
						2eaef05c47
					
				
					 2 changed files with 9 additions and 6 deletions
				
			
		|  | @ -273,6 +273,7 @@ def test_RFC2732(self): | |||
|         for invalid_url in [ | ||||
|                 'http://::12.34.56.78]/', | ||||
|                 'http://[::1/foo/', | ||||
|                 'http://[::1/foo/bad]/bad', | ||||
|                 'http://[::ffff:12.34.56.78']: | ||||
|             self.assertRaises(ValueError, lambda : urllib.parse.urlparse(invalid_url).hostname) | ||||
|             self.assertRaises(ValueError, lambda : urllib.parse.urlparse(invalid_url)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Senthil Kumaran
						Senthil Kumaran