Home
last modified time | relevance | path

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

12

/third_party/python/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
109 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error.C
119 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error.C
135 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_dont_mask_non_attribute_error_in_cls_arg.C
145 __bases__ = property(getbases) variable in TestIsSubclassExceptions.test_mask_attribute_error_in_cls_arg.C
158 __bases__ = property(getbases) variable in AbstractClass
[all …]
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.py82 t = t.__bases__[0]
97 t = t.__bases__[0]
111 t = t.__bases__[0]
126 t = t.__bases__[0]
145 t = t.__bases__[0]
163 t = t.__bases__[0]
3980 D.__bases__ = (C,)
3981 D.__bases__ = (C2,)
3989 del D.__bases__
3996 D.__bases__ = ()
[all …]
Dtest_types.py1173 self.assertEqual(C.__bases__, (object,))
1212 self.assertEqual(C.__bases__, (object,))
1235 self.assertEqual(D.__bases__, (A,))
1241 self.assertEqual(L1.__bases__, (list, typing.Generic))
1246 self.assertEqual(L2.__bases__, (list,))
1258 self.assertEqual(D.__bases__, (A, B))
1283 self.assertEqual(D.__bases__, (A1, A2, B1, B2))
1299 self.assertEqual(D.__bases__, (A1, A2, A3, C, B1, B2))
Dtest_pyclbr.py99 real_bases = [base.__name__ for base in py_item.__bases__]
Daudit-tests.py173 C.__bases__ = (B,)
Dtest_genericalias.py136 self.assertEqual(C.__bases__, (list,))
/third_party/python/Lib/idlelib/
Ddebugobj.py64 if len(self.object.__bases__) == 1:
66 self.object.__bases__[0])
68 item = make_objecttreeitem("__bases__ =", self.object.__bases__)
Drpc.py589 for super in obj.__bases__:
/third_party/python/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()):
Dheaderregistry.py218 self.__class__.__bases__,
/third_party/python/Lib/ctypes/test/
Dtest_repr.py20 base = typ.__bases__[0]
/third_party/python/Lib/unittest/test/testmock/
Dtestsentinel.py26 self.assertRaises(AttributeError, lambda: sentinel.__bases__)
/third_party/python/Lib/
Dfunctools.py704 for i, base in enumerate(reversed(cls.__bases__)):
706 boundary = len(cls.__bases__) - i
711 explicit_bases = list(cls.__bases__[:boundary])
713 other_bases = list(cls.__bases__[boundary:])
716 issubclass(b, base) for b in cls.__bases__
Dabc.py171 for scls in cls.__bases__:
Drlcompleter.py205 for base in klass.__bases__:
Dtyping.py1334 error = Generic in cls.__bases__ and cls.__name__ != 'Protocol'
1532 cls._is_protocol = any(b is Protocol for b in cls.__bases__)
1581 for base in cls.__bases__:
1957 if val in arg.__bases__ + (arg,):
Dinspect.py437 for base in object.__bases__:
458 for base in object.__bases__:
1156 results.append((c, c.__bases__))
1173 if c.__bases__:
1174 for parent in c.__bases__:
/third_party/protobuf/python/google/protobuf/internal/
Dtesting_refleaks.py117 new_bases = (ReferenceLeakCheckerMixin,) + test_class.__bases__
/third_party/spirv-tools/test/tools/
Dspirv_test_framework.py84 for superclass in cls.__bases__:
88 for superclass in cls.__bases__:
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dspirv_test_framework.py84 for superclass in cls.__bases__:
88 for superclass in cls.__bases__:
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py84 for superclass in cls.__bases__:
88 for superclass in cls.__bases__:
/third_party/python/Doc/c-api/
Dobject.rst227 a :attr:`__bases__` attribute (which must be a tuple of base classes).
247 classes are, by having a :attr:`__bases__` attribute (which must be a tuple
/third_party/python/Lib/test/test_asyncio/
Dutils.py291 return type('TestProtocol', (base,) + base.__bases__, dct)()
/third_party/boost/tools/build/src/kernel/
Dclass.jam104 return $(__bases__) ;

12