You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. Perhaps you also know where to monkey-patch warnings.showwarning - see #33826 comment:8 -
so that pytest correctly processes deprecation warnings in doctests...
Running
sage --pytest foo.py
on an out of treefoo.py
ignoressage:
-prompted docstrings, and happily tests>>>
-prompted docstrings. E.g. withone has
but
So there is some magic happening here, with
tox.ini
used in the former case, but not in the latter case.Component: doctest framework
Issue created by migration from https://trac.sagemath.org/ticket/34829
The text was updated successfully, but these errors were encountered: