/third_party/python/Lib/unittest/test/testmock/ |
D | testhelpers.py | 7 call, _Call, create_autospec, MagicMock, 93 kall = _Call() 94 self.assertEqual(kall, _Call()) 95 self.assertEqual(kall, _Call(('',))) 96 self.assertEqual(kall, _Call(((),))) 97 self.assertEqual(kall, _Call(({},))) 98 self.assertEqual(kall, _Call(('', ()))) 99 self.assertEqual(kall, _Call(('', {}))) 100 self.assertEqual(kall, _Call(('', (), {}))) 101 self.assertEqual(kall, _Call(('foo',))) [all …]
|
D | testmock.py | 13 NonCallableMagicMock, AsyncMock, _Call, _CallList, 2121 self.assertEqual(type(call.name), _Call) 2122 self.assertEqual(type(call.name().name), _Call) 2128 self.assertEqual(type(call.parent), _Call) 2129 self.assertEqual(type(call.parent().parent), _Call)
|
/third_party/python/Lib/lib2to3/tests/ |
D | test_util.py | 79 def _Call(self, name, args=None, prefix=None): member in Test_Call 97 self.assertStr(self._Call("A"), "A()") 98 self.assertStr(self._Call("b", kids[1]), "b(1,2,3)") 99 self.assertStr(self._Call("a.b().c", kids[2]), "a.b().c(1,3,2,4)") 100 self.assertStr(self._Call("d", kids[3], prefix=" "), " d(b, j)")
|
/third_party/python/Lib/unittest/ |
D | mock.py | 915 expected = self._call_matcher(_Call((args, kwargs), two=True)) 985 expected = self._call_matcher(_Call((args, kwargs), two=True)) 1117 _call = _Call((args, kwargs), two=True) 1128 self.mock_calls.append(_Call(('', args, kwargs))) 1136 _new_parent.method_calls.append(_Call((method_call_name, args, kwargs))) 1142 this_mock_call = _Call((mock_call_name, args, kwargs)) 2194 _call = _Call((args, kwargs), two=True) 2259 expected = self._call_matcher(_Call((args, kwargs), two=True)) 2280 expected = self._call_matcher(_Call((args, kwargs), two=True)) 2429 class _Call(tuple): class [all …]
|
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
D | _invocation.py | 60 class _Call(grpc.Call): class 277 return read.response, _Call(handler)
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | vmimpl.h | 169 BaseRef _Call(const BaseRef &graph, const VectorRef &args);
|
D | vmimpl.cc | 287 BaseRef VM::_Call(const BaseRef &graph, const VectorRef &args) { in _Call() function in mindspore::compile::VM 379 auto ret = _Call(fn, args); in DispatchCall()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 458 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
D | 3.5.4rc1.rst | 797 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
D | 3.5.2rc1.rst | 874 Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
|
D | 3.6.0a1.rst | 1392 Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
|
D | 3.9.0a1.rst | 2527 Fix `NonCallableMock._call_matcher` returning tuple instead of `_Call`
|
D | 3.7.0a1.rst | 3684 Fix unittest.mock._Call helper: don't ignore the name parameter anymore.
|
D | 3.8.0a1.rst | 309 Internal attributes' names of unittest.mock._Call and
|