Skip to content

Commit 9b2f042

Browse files
committed
Trac #32964: fix failing doctest in functions.orthogonal_polys.
One of the examples in this module is expecting a doctest warning, but that warning is only emitted the first time it happens. When testing with sage -t --file-iterations=2 the warning does not appear in the second pass, and the test (that is expecting it) fails. This commit adds some more "..." to support both possible outcomes.
1 parent a234342 commit 9b2f042

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/functions/orthogonal_polys.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,7 @@ def _eval_(self, n, x):
495495
sage: chebyshev_T(5,Qp(3)(2))
496496
2 + 3^2 + 3^3 + 3^4 + 3^5 + O(3^20)
497497
sage: chebyshev_T(100001/2, 2)
498-
doctest:...: RuntimeWarning: mpmath failed, keeping expression unevaluated
499-
chebyshev_T(100001/2, 2)
498+
...chebyshev_T(100001/2, 2)
500499
sage: chebyshev_U._eval_(1.5, Mod(8,9)) is None
501500
True
502501
"""

0 commit comments

Comments
 (0)