def test_commandFatalErrorsIsConvertedToDict(self):
        """
        A L{Command} subclass's C{fatalErrors} is coerced into a C{dict}.
        """
        class NewCommand(amp.Command):
            fatalErrors = [(ZeroDivisionError, b"ZDE")]

        self.assertEqual(
            {ZeroDivisionError: b"ZDE"},
            NewCommand.fatalErrors)

        A L{Command} subclass's C{fatalErrors} is coerced into a C{dict}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py