Skip to content

Make doctests accept Python 3.8.x respellings of some error messages #30162

@mkoeppe

Description

@mkoeppe

Inspired by
https://salsa.debian.org/science-team/sagemath/-/blob/master/debian/patches/u0-version-python-3.8.patch
we do

git grep -l ^\ \*[A-Za-z]\*Error.\*can\'t | xargs sed -i.bak s/Error:\ \\\(.*\\\)an\'t/Error:\ \\1an...t/ 

CC: @jhpalmieri @tobihan @fchapoton @antonio-rojas @kiwifb

Component: python3

Author: Matthias Koeppe

Branch/Commit: c43343c

Reviewer: Antonio Rojas

Issue created by migration from https://trac.sagemath.org/ticket/30162

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions