Searched refs:validate_abstract_methods (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_collections.py | 268 def validate_abstract_methods(self, abc, *names): member in ABCTestCase 361 self.validate_abstract_methods(Hashable, '__hash__') 386 self.validate_abstract_methods(Iterable, '__iter__') 406 self.validate_abstract_methods(Iterator, 'next', '__iter__') 435 self.validate_abstract_methods(Sized, '__len__') 453 self.validate_abstract_methods(Container, '__contains__') 473 self.validate_abstract_methods(Callable, '__call__') 522 self.validate_abstract_methods(Set, '__contains__', '__iter__', '__len__') 552 self.validate_abstract_methods(MutableSet, '__contains__', '__iter__', '__len__', 807 self.validate_abstract_methods(Mapping, '__contains__', '__iter__', '__len__', [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_collections.py | 720 def validate_abstract_methods(self, abc, *names): member in ABCTestCase 805 self.validate_abstract_methods(Awaitable, '__await__') 857 self.validate_abstract_methods(Coroutine, '__await__', 'send', 'throw') 924 self.validate_abstract_methods(Hashable, '__hash__') 938 self.validate_abstract_methods(AsyncIterable, '__aiter__') 959 self.validate_abstract_methods(AsyncIterator, '__anext__', '__aiter__') 983 self.validate_abstract_methods(Iterable, '__iter__') 1027 self.validate_abstract_methods(Reversible, '__reversed__', '__iter__') 1095 self.validate_abstract_methods(Collection, '__len__', '__iter__', 1156 self.validate_abstract_methods(Iterator, '__next__', '__iter__') [all …]
|