mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #18258: Fix test discovery for test_codecmaps_*.
This commit is contained in:
		
							parent
							
								
									44f09ebd0f
								
							
						
					
					
						commit
						d9de794c23
					
				
					 6 changed files with 6 additions and 22 deletions
				
			
		|  | @ -277,8 +277,7 @@ class TestBase_Mapping(unittest.TestCase): | |||
|     supmaps = [] | ||||
|     codectests = [] | ||||
| 
 | ||||
|     def __init__(self, *args, **kw): | ||||
|         unittest.TestCase.__init__(self, *args, **kw) | ||||
|     def setUp(self): | ||||
|         try: | ||||
|             self.open_mapping_file().close() # test it to report the error early | ||||
|         except (OSError, HTTPException): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Zachary Ware
						Zachary Ware