def _truncate(s, length=8000):
    if len(s) > length:
        return s[:3-length] + '...'
    else:
        return s
dataset/ETHPy150Open dcos/dcos-cli/cli/tests/integrations/common.py/_truncate/swapped operands of `-`