Skip to content

Commit e53b271

Browse files
committed
Remove unnecessary error check
1 parent db2715d commit e53b271

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sage/interfaces/fricas.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,6 @@ def _check_errors(self, line, output):
592592
m = re.search(r"\|startKeyedMsg\|\n(.*)\n\|endOfKeyedMsg\|",
593593
output, flags=re.DOTALL)
594594
if m:
595-
# Ignore informational messages about function declarations
596-
# being added to workspace (these are not errors)
597-
msg_content = m.group(1)
598-
if "has been added to" in msg_content and "workspace" in msg_content:
599-
return
600595
replacements = [('|startKeyedMsg|\n', ''),
601596
('|endOfKeyedMsg|', '')]
602597
for old, new in replacements:

0 commit comments

Comments
 (0)