def contains_no(self, prototype):
        """
        Ensures no item of :attr:`subject` is of class *prototype*.
        """
        for element in self._subject:
            self._run(unittest_case.assertNotIsInstance, (element, prototype))
        return ChainInspector(self._subject)
def contains_no ( self , prototype ) : for element in self . _subject : self . _run ( unittest_case . assertNotIsInstance , ( element , prototype ) ) return ChainInspector ( self . _subject )
Ensures no item of :attr:`subject` is of class *prototype*.