Skip to content

Commit 624d428

Browse files
committed
Fix tests
1 parent b5e7fbb commit 624d428

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/rings/polynomial/multi_polynomial_ideal.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4978,7 +4978,9 @@ def reduce(self, f):
49784978
sage: I.reduce(pi.n())
49794979
Traceback (most recent call last):
49804980
...
4981-
TypeError: element belong to Real Field with 53 bits of precision, cannot coerce to Multivariate Polynomial Ring in x, y over Rational Field
4981+
TypeError: no canonical coercion from Real Field with 53 bits of precision to Multivariate Polynomial Ring in x, y over Rational Field
4982+
sage: I.reduce(float(pi.n()))
4983+
TypeError: no canonical coercion from <class 'float'> to Multivariate Polynomial Ring in x, y over Rational Field
49824984
"""
49834985
try:
49844986
strat = self._groebner_strategy()

0 commit comments

Comments
 (0)