-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #25676: py3: Automatically alias OSError subclasses in exception…
… doctests There are at least a handful of doctests that expect `OSError` to be raised. However, Python 3 added many [https://docs.python.org/3/library/exceptions.html#os-exceptions OSError subclasses] that are raised in many common cases instead (e.g. `FileNotFoundError`). This patches doctest results to paper over this difference in doctests written against Python 2. URL: https://trac.sagemath.org/25676 Reported by: embray Ticket author(s): Erik Bray Reviewer(s): Frédéric Chapoton, Vincent Klein
- Loading branch information
Showing
1 changed file
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters