Skip to content

Commit

Permalink
another round
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Aug 8, 2024
1 parent 37c71e4 commit 8c266f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mathics/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def evaluate(self, str_expression, timeout=None, form=None):

def evaluate_as_in_cli(self, str_expression, timeout=None, form=None, src_name=""):
"""This method parse and evaluate the expression using the session.evaluation.evaluate method"""
self.evaluation.out = []
query = self.evaluation.parse(str_expression, src_name)
if query is not None:
res = self.evaluation.evaluate(query, timeout=timeout, format=form)
Expand Down
4 changes: 2 additions & 2 deletions test/builtin/files_io/test_importexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ def test_inividually():
None,
),
(
r'System`Convert`B64Dump`Decode["4oirIGYg752MIHg="]',
r'System`Convert`B64Dump`B64Decode["4oirIGYg752MIHg="]',
None,
r"4oirIGYg752MIHg=",
r"∫ f  x",
None,
),
],
Expand Down

0 comments on commit 8c266f3

Please sign in to comment.