def test_makeArgumentsUsesCommandType(self):
        """
        L{amp.Command.makeArguments}'s return type should be the type
        of the result of L{amp.Command.commandType}.
        """
        protocol = object()
        objects = {"weird": b"whatever"}

        result = ProtocolIncludingCommandWithDifferentCommandType.makeArguments(
            objects, protocol)
        self.assertIs(type(result), MyBox)

        L{amp.Command.makeArguments}'s return type should be the type
        of the result of L{amp.Command.commandType}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_amp.py