def test_issue_6360():
    a, b = symbols("a b")
    apb = a + b
    eq = apb + apb**2*(2*b - -2*a)
    assert factor_terms(sub_pre(eq)) == a + b - 2*(a + b)**3
dataset/ETHPy150Open sympy/sympy/sympy/core/tests/test_exprtools.py/test_issue_6360/swapped operands of `-`