mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	gh-71339: Use new assertion methods in test_import and test_importlib (GH-129052)
This commit is contained in:
		
							parent
							
								
									da310d209a
								
							
						
					
					
						commit
						f7cc7d296c
					
				
					 18 changed files with 51 additions and 54 deletions
				
			
		|  | @ -321,7 +321,7 @@ def test_length(self): | |||
| 
 | ||||
|     def test_incorporates_rn(self): | ||||
|         # The magic number uses \r\n to come out wrong when splitting on lines. | ||||
|         self.assertTrue(self.util.MAGIC_NUMBER.endswith(b'\r\n')) | ||||
|         self.assertEndsWith(self.util.MAGIC_NUMBER, b'\r\n') | ||||
| 
 | ||||
| 
 | ||||
| (Frozen_MagicNumberTests, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka