mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Removed a dead line of code.
This commit is contained in:
		
							parent
							
								
									445ff35d5c
								
							
						
					
					
						commit
						f602c71b07
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -192,7 +192,6 @@ def check_rename(self, module_name, new_module_name): | |||
|         - The module can be imported using the new 3.x name. | ||||
|         - The warning message specify both names. | ||||
|         """ | ||||
|         ModuleType = type(sys) # get the module type object | ||||
|         with CleanImport(module_name): | ||||
|             with catch_warning(record=False) as w: | ||||
|                 warnings.filterwarnings("error", ".+ renamed to", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alexandre Vassalotti
						Alexandre Vassalotti