New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small bug in doctest framework's mapping of Python 2 exception classes to Python 3 exceptions #26244
Labels
Comments
comment:1
If you would like to take a stab at it. Otherwise I'll fix it. It's just a question of slightly rearranging this code in
|
comment:3
Retargeting some of my tickets (somewhat optimistically for now). |
comment:4
Removing most of the rest of my open tickets out of the 8.7 milestone, which should be closed. |
comment:5
outdated? |
comment:6
ok |
Reviewer: Matthias Koeppe, Frédéric Chapoton |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The doctest framework has some built-in mappings of built-in exception classes from their Python 2 spellings to their Python 3, so that doctests that expect those exceptions can be raised can be written for Python 2 but still work on Python 3: #25676
There is at least one case where the current implementation of this fails. See: #26213 comment:22
CC: @fchapoton
Component: python3
Reviewer: Matthias Koeppe, Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/26244
The text was updated successfully, but these errors were encountered: