Searched refs:validate_abstract_methods (Results 1 – 2 of 2) sorted by relevance
/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 …]
|
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 690 def validate_abstract_methods(self, abc, *names): member in ABCTestCase 890 self.validate_abstract_methods(Hashable, '__hash__') 904 self.validate_abstract_methods(AsyncIterable, '__aiter__') 925 self.validate_abstract_methods(AsyncIterator, '__anext__', '__aiter__') 949 self.validate_abstract_methods(Iterable, '__iter__') 993 self.validate_abstract_methods(Reversible, '__reversed__', '__iter__') 1061 self.validate_abstract_methods(Collection, '__len__', '__iter__', 1122 self.validate_abstract_methods(Iterator, '__next__', '__iter__') 1177 self.validate_abstract_methods(Generator, 'send', 'throw') 1248 self.validate_abstract_methods(AsyncGenerator, 'asend', 'athrow') [all …]
|