Skip to content

Commit 9a73e16

Browse files
committed
Fix tests for Python 3.13
1 parent 1be0a58 commit 9a73e16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/repl/ipython_extension.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def cython(self, line, cell):
433433
sage: shell.run_cell('''
434434
....: %%cython --view-annotate=xx
435435
....: print(1)
436-
....: ''')
437-
UsageError: argument --view-annotate: invalid choice: 'xx' (choose from 'none', 'auto', 'webbrowser', 'displayhtml')
436+
....: ''') # exact error message differ between Python 3.11/3.13
437+
UsageError: argument --view-annotate: invalid choice: 'xx' (choose from ...)
438438
439439
Test ``--view-annotate=displayhtml`` (note that in a notebook environment
440440
an inline HTML frame will be displayed)::

0 commit comments

Comments
 (0)