Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit a22d20c

Browse files
committed
changed, as the source of groebner_basis changed
1 parent 7058795 commit a22d20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/misc/cachefunc.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ cdef class CachedFunction(object):
925925
sage: P.<x,y> = QQ[]
926926
sage: I = P*[x,y]
927927
sage: from sage.misc.sageinspect import sage_getsourcelines
928-
sage: l = " elif algorithm == 'macaulay2:gb':\n"
928+
sage: l = ' elif algorithm.startswith("macaulay2:"):\n'
929929
sage: l in sage_getsourcelines(I.groebner_basis)[0] # indirect doctest
930930
True
931931

0 commit comments

Comments
 (0)