mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix docstring.
This commit is contained in:
		
							parent
							
								
									6518f5e780
								
							
						
					
					
						commit
						c44befb82e
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1005,11 +1005,11 @@ def assertSameElements(self, expected_seq, actual_seq, msg=None): | |||
| 
 | ||||
|     def assertCountEqual(self, actual, expected, msg=None): | ||||
|         """An unordered sequence specific comparison. It asserts that | ||||
|         actual_seq and expected_seq have the same element counts. | ||||
|         actual and expected have the same element counts. | ||||
|         Equivalent to:: | ||||
| 
 | ||||
|             self.assertEqual(Counter(actual_seq), | ||||
|                              Counter(expected_seq)) | ||||
|             self.assertEqual(Counter(list(actual)), | ||||
|                              Counter(list(expected))) | ||||
| 
 | ||||
|         Asserts that each element has the same count in both sequences. | ||||
|         Example: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Raymond Hettinger
						Raymond Hettinger