mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	[3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498)
(cherry picked from commit 2602d8ae98)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									d5f7e80d44
								
							
						
					
					
						commit
						db98e0bb12
					
				
					 117 changed files with 407 additions and 445 deletions
				
			
		|  | @ -134,7 +134,7 @@ def test_socket(self): | |||
|         self.assertEqual(events[0][0], "socket.gethostname") | ||||
|         self.assertEqual(events[1][0], "socket.__new__") | ||||
|         self.assertEqual(events[2][0], "socket.bind") | ||||
|         self.assertTrue(events[2][2].endswith("('127.0.0.1', 8080)")) | ||||
|         self.assertEndsWith(events[2][2], "('127.0.0.1', 8080)") | ||||
| 
 | ||||
|     def test_gc(self): | ||||
|         returncode, events, stderr = self.run_python("test_gc") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)