def test_inheritedErrorPropagation(self):
        """
        Verify that errors specified in a superclass command are propagated to
        its subclasses.
        """
        return self.errorCheck(
            InheritedError, InheritedCommandProtocol, InheritedCommand)

        Verify that errors specified in a superclass command are propagated to
        its subclasses.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py