Home
last modified time | relevance | path

Searched refs:_call_matcher (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/unittest/
Dmock.py833 def _call_matcher(self, _call): member in NonCallableMock
903 expected = self._call_matcher(_Call((args, kwargs), two=True))
904 actual = self._call_matcher(self.call_args)
932 expected = [self._call_matcher(c) for c in calls]
934 all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
973 expected = self._call_matcher(_Call((args, kwargs), two=True))
975 actual = [self._call_matcher(c) for c in self.call_args_list]
2211 expected = self._call_matcher(_Call((args, kwargs), two=True))
2212 actual = self._call_matcher(self.await_args)
2232 expected = self._call_matcher(_Call((args, kwargs), two=True))
[all …]
/external/python/cpython2/Lib/test/
D_mock_backport.py741 def _call_matcher(self, _call): member in NonCallableMock
784 expected = self._call_matcher((args, kwargs))
785 actual = self._call_matcher(self.call_args)
811 expected = [self._call_matcher(c) for c in calls]
812 all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
841 expected = self._call_matcher((args, kwargs))
842 actual = [self._call_matcher(c) for c in self.call_args_list]
/external/python/mock/mock/
Dmock.py868 def _call_matcher(self, _call): member in NonCallableMock
940 expected = self._call_matcher((args, kwargs))
941 actual = self._call_matcher(self.call_args)
970 expected = [self._call_matcher(c) for c in calls]
972 all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
1003 expected = self._call_matcher((args, kwargs))
1004 actual = [self._call_matcher(c) for c in self.call_args_list]
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst2527 Fix `NonCallableMock._call_matcher` returning tuple instead of `_Call`