def test_commandNameDefaultsToClassNameAsByteString(self):
        """
        A L{Command} subclass without a defined C{commandName} that's
        not a byte string.
        """
        class NewCommand(amp.Command):
            """
            A new command.
            """

        self.assertEqual(b"NewCommand", NewCommand.commandName)

        A L{Command} subclass without a defined C{commandName} that's
        not a byte string.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py