Lines Matching refs:_parent
439 _parent = parent
440 while _parent is not None:
443 if _parent is value:
445 _parent = _parent._mock_new_parent
690 _parent = self._mock_new_parent
697 while _parent is not None:
698 last = _parent
700 _name_list.append(_parent._mock_new_name + dot)
702 if _parent._mock_new_name == '()':
705 _parent = _parent._mock_new_parent
708 if id(_parent) in seen:
710 seen.add(id(_parent))
2135 def create_autospec(spec, spec_set=False, instance=False, _parent=None, argument
2181 if _parent is None:
2185 mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
2195 if _parent is not None and not instance:
2196 _parent._mock_children[_name] = mock
2200 _name='()', _parent=mock)