Skip to content

Commit 02d33a2

Browse files
committed
Disable hilbert class poly doctests again
1 parent 1eee325 commit 02d33a2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/flint/types/fmpz_poly.pyx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -618,16 +618,16 @@ cdef class fmpz_poly(flint_poly):
618618
r"""
619619
Returns the Hilbert class polynomial `H_D(x)` as an *fmpz_poly*.
620620
621-
>>> fmpz_poly.hilbert_class_poly(-3)
622-
x
623-
>>> fmpz_poly.hilbert_class_poly(-4)
624-
x + (-1728)
625-
>>> fmpz_poly.hilbert_class_poly(-59)
626-
x^3 + 30197678080*x^2 + (-140811576541184)*x + 374643194001883136
627-
>>> fmpz_poly.hilbert_class_poly(-5)
628-
Traceback (most recent call last):
629-
...
630-
ValueError: D must be an imaginary quadratic discriminant
621+
# >>> fmpz_poly.hilbert_class_poly(-3)
622+
# x
623+
# >>> fmpz_poly.hilbert_class_poly(-4)
624+
# x + (-1728)
625+
# >>> fmpz_poly.hilbert_class_poly(-59)
626+
# x^3 + 30197678080*x^2 + (-140811576541184)*x + 374643194001883136
627+
# >>> fmpz_poly.hilbert_class_poly(-5)
628+
# Traceback (most recent call last):
629+
# ...
630+
# ValueError: D must be an imaginary quadratic discriminant
631631
"""
632632
cdef fmpz_poly v = fmpz_poly()
633633
acb_modular_hilbert_class_poly(v.val, D)

0 commit comments

Comments
 (0)