Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
D_mock_backport.py382 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
385 if _new_parent is None:
386 _new_parent = parent
392 __dict__['_mock_new_parent'] = _new_parent
476 _new_parent=self, _new_name='()'
593 _new_parent=self
890 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
895 _spec_state, _new_name, _new_parent, **kwargs
918 _new_parent = self._mock_new_parent
929 while _new_parent is not None:
[all …]
/external/pdfium/third_party/pymock/
Dmock.py479 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
482 if _new_parent is None:
483 _new_parent = parent
489 __dict__['_mock_new_parent'] = _new_parent
564 _new_parent=self, _new_name='()'
674 _new_parent=self
935 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
940 _spec_state, _new_name, _new_parent, **kwargs
966 _new_parent = self._mock_new_parent
973 while _new_parent is not None:
[all …]
/external/python/mock/mock/
Dmock.py490 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
493 if _new_parent is None:
494 _new_parent = parent
500 __dict__['_mock_new_parent'] = _new_parent
585 _new_parent=self, _new_name='()'
714 _new_parent=self
1072 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
1077 _spec_state, _new_name, _new_parent, **kwargs
1115 _new_parent = self._mock_new_parent
1116 while _new_parent is not None:
[all …]
/external/python/cpython3/Lib/unittest/
Dmock.py418 parent=None, _spec_state=None, _new_name='', _new_parent=None, argument
421 if _new_parent is None:
422 _new_parent = parent
428 __dict__['_mock_new_parent'] = _new_parent
520 _new_parent=self, _new_name='()'
650 _new_parent=self
1073 _spec_state=None, _new_name='', _new_parent=None, **kwargs): argument
1077 _spec_state, _new_name, _new_parent, **kwargs
1120 _new_parent = self._mock_new_parent
1121 while _new_parent is not None:
[all …]