mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Fix a typo in Lib/unittest/mock.py (#136067)
This commit is contained in:
		
							parent
							
								
									c419af9e27
								
							
						
					
					
						commit
						35ecaf90b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -986,7 +986,7 @@ def _error_message(): | |||
| 
 | ||||
| 
 | ||||
|     def assert_called_once_with(self, /, *args, **kwargs): | ||||
|         """assert that the mock was called exactly once and that that call was | ||||
|         """assert that the mock was called exactly once and that call was | ||||
|         with the specified arguments.""" | ||||
|         if not self.call_count == 1: | ||||
|             msg = ("Expected '%s' to be called once. Called %s times.%s" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Weilin Du
						Weilin Du