The code at #12415 needs to change Python's doctest module
This ticket can be closed as wontfix.
CC:  @jhpalmieri
Component: packages: standard
Keywords: sd40.5
Reviewer: Volker Braun, David Roe
Issue created by migration from https://trac.sagemath.org/ticket/12723