def _invertx(p, x):
    p1 = poly_from_expr(p, x)[0]

    n = degree(p1)
    a = [c * x**(n - i) for (i,), c in p1.terms()]
    return Add(*a)
Create user fixtures. They reset per test.
dataset/ETHPy150Open sympy/sympy/sympy/polys/numberfields.py/_invertx--crossover with--dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/conftest.py/users