Home
last modified time | relevance | path

Searched refs:__bases__ (Results 1 – 25 of 97) sorted by relevance

1234

/external/python/cpython3/Lib/test/
Dtest_isinstance.py35 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_class_has_no_bases.C
45 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
55 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
67 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
79 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_mask_attribute_error.C
107 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
117 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C
133 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
143 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
156 __bases__ = property(getbases) variable in AbstractClass
Dtest_genericclass.py31 self.assertEqual(D.__bases__, (A, C, B))
37 self.assertEqual(E.__bases__, (D,))
51 self.assertEqual(D.__bases__, (A, B))
56 self.assertEqual(E.__bases__, (object,))
71 self.assertEqual(D.__bases__, (A, dict))
85 self.assertEqual(D.__bases__, (C, dict))
133 self.assertEqual(D.__bases__, (A,))
280 self.assertEqual(C.__bases__, (int,))
Dtest_descr.py75 t = t.__bases__[0]
90 t = t.__bases__[0]
104 t = t.__bases__[0]
119 t = t.__bases__[0]
138 t = t.__bases__[0]
156 t = t.__bases__[0]
3876 D.__bases__ = (C,)
3877 D.__bases__ = (C2,)
3885 del D.__bases__
3892 D.__bases__ = ()
[all …]
/external/python/cpython2/Lib/test/
Dtest_isinstance.py37 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_class_has_no_bases.C
47 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.E
57 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_bases_raises_other_than_attribute_error.C
69 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_dont_mask_non_attribute_error.C
81 __bases__ = property(getbases) variable in TestIsInstanceExceptions.test_mask_attribute_error.C
95 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
105 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C
121 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
131 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
144 __bases__ = property(getbases) variable in AbstractClass
Dtest_descr.py78 t = t.__bases__[0]
99 t = t.__bases__[0]
113 t = t.__bases__[0]
128 t = t.__bases__[0]
147 t = t.__bases__[0]
165 t = t.__bases__[0]
4110 D.__bases__ = (C,)
4111 D.__bases__ = (C2,)
4119 del D.__bases__
4126 D.__bases__ = ()
[all …]
/external/python/cpython2/Demo/metaclasses/
DEnum.py43 self.__bases__ = bases
69 for base in self.__bases__:
79 if self.__bases__:
81 self.__bases__), ", ") + ')'
DMeta.py61 self.__bases__ = bases
69 for base in self.__bases__:
DTrace.py24 self.__bases__ = bases
33 for base in self.__bases__:
DSimple.py7 self.__bases__ = bases
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dclass_util.py17 if parent_cls in child_cls.__bases__:
24 base_cls = [cls for cls in child_cls.__bases__ if cls and cls != object]
/external/python/cpython2/Lib/idlelib/
DObjectBrowser.py76 if len(self.object.__bases__) == 1:
78 self.object.__bases__[0])
80 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
/external/python/cpython3/Lib/idlelib/
Ddebugobj.py64 if len(self.object.__bases__) == 1:
66 self.object.__bases__[0])
68 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
/external/python/cpython2/Demo/pdist/
Dcmdfw.py102 if not c.__bases__:
104 c = c.__bases__[0]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message.py375 secondary_frag_parent_cls = secondary_frag_cls.__bases__[1]
377 message_parent_cls = message_cls.__bases__[1]
380 message_parent_cls = message_cls.__bases__[1]
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/
DTestLauncher.py131 if ExclusiveCriterion in criterionClass.__bases__:
148 if ExclusiveCriterion in criterion.__class__.__bases__:
/external/python/cpython2/Lib/test/crashers/
Dloosing_mro_ref.py15 X.__bases__ = (Base2,)
/external/python/cpython3/Lib/email/
D_policybase.py101 cls.__doc__ = _append_doc(cls.__bases__[0].__doc__, cls.__doc__)
104 for c in (c for base in cls.__bases__ for c in base.mro()):
/external/python/cpython3/Lib/
Dfunctools.py655 for i, base in enumerate(reversed(cls.__bases__)):
657 boundary = len(cls.__bases__) - i
662 explicit_bases = list(cls.__bases__[:boundary])
664 other_bases = list(cls.__bases__[boundary:])
667 issubclass(b, base) for b in cls.__bases__
/external/python/mock/mock/tests/
Dtestsentinel.py29 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
/external/python/cpython2/Lib/ctypes/test/
Dtest_repr.py20 base = typ.__bases__[0]
/external/python/cpython3/Lib/ctypes/test/
Dtest_repr.py20 base = typ.__bases__[0]
/external/python/cpython2/Lib/distutils/tests/
Dsetuptools_extension.py11 cls, = cls.__bases__
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestsentinel.py26 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
/external/deqp-deps/SPIRV-Tools/test/tools/
Dspirv_test_framework.py86 for superclass in cls.__bases__:
90 for superclass in cls.__bases__:
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py86 for superclass in cls.__bases__:
90 for superclass in cls.__bases__:

1234