Skip to content

Commit

Permalink
sagemathgh-39282: Fix tests for Python 3.13
Browse files Browse the repository at this point in the history
Fixes issue pointed out in
sagemath#38946 (comment)

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->

URL: sagemath#39282
Reported by: user202729
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Jan 5, 2025
2 parents 6f7726f + 9a73e16 commit 075fa9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=852d0d200a6a73aa5ddb9e00874cbe4a61c211e9
sha256=c4b089d90850dfdf15b905f66e4f6a0d961b96eb0663d8603beaff1a9efb2cbe
sha1=f2330af64681fa8d65b780b5109319ef6fa2dd27
sha256=00ae114e6b5cb5b4310b068eef71660072bbd8bffb45c399540a66111f84bfa4
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a2ba1f943f88775218c385efe55509c4548d1b44
df526cfa6b2ffa53bc68bbfef73b54db8d6dc653
4 changes: 2 additions & 2 deletions src/sage/repl/ipython_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ def cython(self, line, cell):
sage: shell.run_cell('''
....: %%cython --view-annotate=xx
....: print(1)
....: ''')
UsageError: argument --view-annotate: invalid choice: 'xx' (choose from 'none', 'auto', 'webbrowser', 'displayhtml')
....: ''') # exact error message differ between Python 3.11/3.13
UsageError: argument --view-annotate: invalid choice: 'xx' (choose from ...)
Test ``--view-annotate=displayhtml`` (note that in a notebook environment
an inline HTML frame will be displayed)::
Expand Down

0 comments on commit 075fa9b

Please sign in to comment.