Lines Matching refs:Callable
13 from collections import Sized, Container, Callable
415 self.assertNotIsInstance(x, Callable)
416 self.assertFalse(issubclass(type(x), Callable), repr(type(x)))
423 self.assertIsInstance(x, Callable)
424 self.assertTrue(issubclass(type(x), Callable), repr(type(x)))
425 self.validate_abstract_methods(Callable, '__call__')
426 self.validate_isinstance(Callable, '__call__')
429 for B in Hashable, Iterable, Iterator, Sized, Container, Callable:
436 for B in Hashable, Iterable, Iterator, Sized, Container, Callable: