Hi, maybe to late, but the second assert should be: assert cmath.isclose(a*x2**2 + b*x2 + c, 0.0, abs_tol=0.0001)