Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix some tests whose output changed since
Browse files Browse the repository at this point in the history
we changed libgap.eval() to return None for void functions instead of the NULL GapElement
  • Loading branch information
embray committed Dec 7, 2018
1 parent b106ff9 commit acc75fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/sage/libs/gap/element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ cdef GapElement make_GapElement(parent, Obj obj):
<type 'sage.libs.gap.element.GapElement_Integer'>
sage: libgap.eval('')
NULL
sage: libgap(None)
Traceback (most recent call last):
...
Expand Down Expand Up @@ -640,7 +638,6 @@ cdef class GapElement(RingElement):
sage: libgap(0)
0
sage: libgap.eval('')
NULL
sage: libgap(0)
0
sage: libgap(0)._repr_()
Expand Down
1 change: 0 additions & 1 deletion src/sage/libs/gap/util.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ cdef Obj gap_eval(str gap_string) except? NULL:
EXAMPLES::
sage: libgap.eval('if 4>3 then\nPrint("hi");\nfi')
NULL
sage: libgap.eval('1+1') # testing that we have successfully recovered
2
Expand Down

0 comments on commit acc75fe

Please sign in to comment.