Skip to content

Commit

Permalink
Trac #34927: fricas interface: __reduce__ doctest failure
Browse files Browse the repository at this point in the history
This is a followup to #34547, making changes similar to ones already
made there.

URL: https://trac.sagemath.org/34927
Reported by: jhpalmieri
Ticket author(s): John Palmieri
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Feb 11, 2023
2 parents f9f0324 + 83e679a commit e421c4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=e95336247a7b690d91bc95af9031cd94f4808760
md5=35b7a83c04310cba28e5c078443ec35e
cksum=2310783026
sha1=2b6bd1b9a065a92dd3b690353fe447a51282086c
md5=5a2b0fbf6e801633ebeffa06a7c18814
cksum=181357686
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1964374b1152cf0e5ac3c811f06db7de95572da2
deed96d39acdd68f3f3b24f3139df0a6aa31a2b2
10 changes: 5 additions & 5 deletions src/sage/interfaces/fricas.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,10 +891,10 @@ def __reduce__(self):
"""
EXAMPLES::
sage: fricas.__reduce__() # optional - fricas
sage: FriCAS().__reduce__()
(<function reduce_load_fricas at 0x...>, ())
sage: f, args = _ # optional - fricas
sage: f(*args) # optional - fricas
sage: f, args = _
sage: f(*args)
FriCAS
"""
return reduce_load_fricas, tuple([])
Expand Down Expand Up @@ -2132,8 +2132,8 @@ def reduce_load_fricas():
EXAMPLES::
sage: from sage.interfaces.fricas import reduce_load_fricas # optional - fricas
sage: reduce_load_fricas() # optional - fricas
sage: from sage.interfaces.fricas import reduce_load_fricas
sage: reduce_load_fricas()
FriCAS
"""
return fricas
Expand Down

0 comments on commit e421c4e

Please sign in to comment.