mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	use assert[Not]In where appropriate
This commit is contained in:
		
							parent
							
								
									0f77f465ff
								
							
						
					
					
						commit
						b58e0bd8bb
					
				
					 39 changed files with 176 additions and 173 deletions
				
			
		|  | @ -413,7 +413,7 @@ def testExceptionCleanupNames(self): | |||
|         except Exception as e: | ||||
|             self.assertTrue(e) | ||||
|             del e | ||||
|         self.assertFalse('e' in locals()) | ||||
|         self.assertNotIn('e', locals()) | ||||
| 
 | ||||
|     def testExceptionCleanupState(self): | ||||
|         # Make sure exception state is cleaned up as soon as the except | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ezio Melotti
						Ezio Melotti