Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix tests expected output to match ipython 8
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-rojas committed Jan 14, 2022
1 parent 3da1b22 commit c373551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/repl/interface_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def cell_magic_factory(self):
2
120
sage: shell.run_cell('%%gap foo\n1+1;\n')
...File "<string>", line unknown
...File...<string>...
SyntaxError: Interface magics have no options, got "foo"
<BLANKLINE>
sage: shell.run_cell('%%gap?')
Expand Down
2 changes: 1 addition & 1 deletion src/sage/repl/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def SagePreparseTransformer(lines):
sage: from sage.repl.interpreter import get_test_shell
sage: shell = get_test_shell()
sage: shell.run_cell(bad_syntax)
File "<string>", line unknown
File...<string>...
SyntaxError: Mismatched ']'
<BLANKLINE>
sage: shell.quit()
Expand Down

0 comments on commit c373551

Please sign in to comment.