-
-
Notifications
You must be signed in to change notification settings - Fork 652
Closed
Milestone
Description
Modify a doctest to fix this failure
sage -t --long --warn-long 162.9
--random-seed=106591066711905509746265618740333072762
src/sage/rings/polynomial/polynomial_element.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_element.pyx", line 11653, in
sage.rings.polynomial.polynomial_element.Polynomial_generic_dense.quo_rem
Failed example:
f.quo_rem(g)
Expected:
Traceback (most recent call last):
...
ArithmeticError: division non exact (consider coercing to polynomials over
the fraction field)
Got:
(-7*y^5 + 1/4*y^2 + (-1/2*x + 1/2)*y,
11/2*y^4 + (-x^2 - 1/3*x + 2/3)*y^3 - 1/3*y^2 - y - 1)
**********************************************************************
first reported in
https://groups.google.com/g/sage-release/c/lolm_ybMtx8/m/4hcocx_EAAAJ
Component: algebra
Author: Kwankyu Lee
Branch/Commit: 04a80af
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/34557