mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
This commit is contained in:
		
							parent
							
								
									80ab6c53c6
								
							
						
					
					
						commit
						4bb142b1b7
					
				
					 34 changed files with 52 additions and 52 deletions
				
			
		|  | @ -100,7 +100,7 @@ class DocXMLRPCHTTPGETServer(unittest.TestCase): | |||
|         self.assertEqual(response.status, 200) | ||||
|         self.assertEqual(response.getheader("Content-type"), "text/html") | ||||
| 
 | ||||
|         # Server throws an exception if we don't start to read the data | ||||
|         # Server raises an exception if we don't start to read the data | ||||
|         response.read() | ||||
| 
 | ||||
|     def test_invalid_get_response(self): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andrew Svetlov
						Andrew Svetlov