Home
last modified time | relevance | path

Searched refs:ClassTypes (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/third_party/pymock/
Dmock.py137 isinstance(obj, ClassTypes) and issubclass(obj, BaseExceptions)
155 if isinstance(func, ClassTypes) and not instance:
230 if isinstance(obj, ClassTypes):
246 if not isinstance(obj, ClassTypes):
268 skipfirst = isinstance(original, ClassTypes)
379 ClassTypes = (type,) variable
381 ClassTypes = (type, ClassType) variable
544 if isinstance(spec, ClassTypes):
1157 if isinstance(func, ClassTypes):
1288 if isinstance(original, ClassTypes):
[all …]
/external/python/mock/mock/
Dmock.py139 isinstance(obj, ClassTypes) and issubclass(obj, BaseException)
161 if isinstance(func, ClassTypes) and not as_instance:
219 if isinstance(obj, ClassTypes):
237 if not isinstance(obj, ClassTypes):
264 skipfirst = isinstance(original, ClassTypes)
379 ClassTypes = (type,) variable
381 ClassTypes = (type, ClassType) variable
561 if isinstance(spec, ClassTypes):
1290 if isinstance(func, ClassTypes):
1414 if isinstance(original, ClassTypes):
[all …]
/external/python/mock/docs/
Dindex.txt107 - ``isinstance`` checks in cPython to ``type`` need to check ``ClassTypes``.