Home
last modified time | relevance | path

Searched refs:_new_name (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
D_mock_backport.py382 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
391 __dict__['_mock_new_name'] = _new_name
476 _new_parent=self, _new_name='()'
592 parent=self, name=name, wraps=wraps, _new_name=name,
890 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
895 _spec_state, _new_name, _new_parent, **kwargs
917 _new_name = self._mock_new_name
926 skip_next_dot = _new_name == '()'
930 this_mock_call = _Call((_new_name, args, kwargs))
940 _new_name = _new_parent._mock_new_name + dot + _new_name
[all …]
/external/pdfium/third_party/pymock/
Dmock.py479 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
488 __dict__['_mock_new_name'] = _new_name
564 _new_parent=self, _new_name='()'
673 parent=self, name=name, wraps=wraps, _new_name=name,
935 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
940 _spec_state, _new_name, _new_parent, **kwargs
965 _new_name = self._mock_new_name
970 skip_next_dot = _new_name == '()'
974 this_mock_call = _Call((_new_name, args, kwargs))
984 _new_name = _new_parent._mock_new_name + dot + _new_name
[all …]
/external/python/cpython3/Lib/unittest/
Dmock.py418 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
427 __dict__['_mock_new_name'] = _new_name
520 _new_parent=self, _new_name='()'
649 parent=self, name=name, wraps=wraps, _new_name=name,
991 _new_name = kw.get("_new_name")
992 if _new_name in self.__dict__['_spec_asyncs']:
996 if issubclass(_type, MagicMock) and _new_name in _async_method_magics:
1000 if (_new_name in _all_sync_magics or
1001 self._mock_methods and _new_name in self._mock_methods):
1073 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
[all …]
/external/python/mock/mock/
Dmock.py490 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
499 __dict__['_mock_new_name'] = _new_name
585 _new_parent=self, _new_name='()'
713 parent=self, name=name, wraps=wraps, _new_name=name,
1072 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
1077 _spec_state, _new_name, _new_parent, **kwargs
1457 new.return_value = Klass(_new_parent=new, _new_name='()',
2067 m = parent._get_child_mock(name=entry, _new_name=entry,
2363 _new_name = _name
2366 _new_name = ''
[all …]
/external/tensorflow/tensorflow/python/ops/
Dvariable_scope.py1925 self._new_name = self._name_or_scope.name
1933 name=self._new_name,
1973 self._var_scope_store.open_variable_scope(self._new_name)
1981 self._new_name = (
1992 name=self._new_name,
2018 self._var_scope_store.open_variable_scope(self._new_name)
2031 self._var_scope_store.close_variable_subscopes(self._new_name)