Something got introduced in/around #3367 and thus there are two parts of this bug - fix the docs file/examples - maybe add a timeout configurable to doctestplus (totally upstream and is tracked in https://github.com/scientific-python/pytest-doctestplus/issues/303)