Skip to content

Commit 5adc1b7

Browse files
committed
better string to match (for various lisps)
1 parent 422330a commit 5adc1b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sage/features/fricas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def is_functional(self):
5454
return FeatureTestResult(self, False,
5555
reason="Call `{command}` failed with exit code {e.returncode}".format(command=" ".join(command), e=e))
5656

57-
expected = b"Checking"
57+
expected = b"FriCAS"
5858
if lines.find(expected) == -1:
5959
return FeatureTestResult(self, False,
6060
reason="Call `{command}` did not produce output which contains `{expected}`".format(command=" ".join(command), expected=expected))

src/sage/interfaces/fricas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def __init__(self, name='fricas', command=None,
291291
"""
292292
from sage.features.fricas import FriCAS
293293
FriCAS().require()
294-
options =" -nosman" + options
294+
options ="-nosman" + options
295295
import shlex
296296
command = '{} {}'.format(shlex.quote(FriCAS().absolute_filename()), options)
297297

0 commit comments

Comments
 (0)