Skip to content

Commit

Permalink
add doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
nbruin authored Aug 6, 2024
1 parent 42ae769 commit 3b267f8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/sage/rings/qqbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,15 @@ def _factor_multivariate_polynomial(self, f, proof=True):
sage: # needs sage.libs.singular
sage: AA['x','y'](1).factor() # indirect doctest
1
Test :issue:`#33327`::
sage: # needs sage.libs.singular
sage: S.<a,c> = QQbar[]
sage: p = a^2 + 7*c^2
sage: factor(p)
(a + (-2.645751311064591?*I)*c) * (a + 2.645751311064591?*I*c)
"""
from sage.interfaces.singular import singular
from sage.structure.factorization import Factorization
Expand Down

0 comments on commit 3b267f8

Please sign in to comment.