Skip to content

Commit

Permalink
better string to match (for various lisps)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Jul 2, 2023
1 parent 422330a commit 5adc1b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/features/fricas.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def is_functional(self):
return FeatureTestResult(self, False,
reason="Call `{command}` failed with exit code {e.returncode}".format(command=" ".join(command), e=e))

expected = b"Checking"
expected = b"FriCAS"
if lines.find(expected) == -1:
return FeatureTestResult(self, False,
reason="Call `{command}` did not produce output which contains `{expected}`".format(command=" ".join(command), expected=expected))
Expand Down
2 changes: 1 addition & 1 deletion src/sage/interfaces/fricas.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def __init__(self, name='fricas', command=None,
"""
from sage.features.fricas import FriCAS
FriCAS().require()
options =" -nosman" + options
options ="-nosman" + options
import shlex
command = '{} {}'.format(shlex.quote(FriCAS().absolute_filename()), options)

Expand Down

0 comments on commit 5adc1b7

Please sign in to comment.