<div id="comment:0"></div> Since `SageNB` is now an optional package, we should detect whether it's present before doctesting its files via `make ptestlong` and similar commands. Component: **doctest framework** Author: **John Palmieri** Branch/Commit: **[`a579a9a`](https://github.com/sagemath/sagetrac-mirror/commit/a579a9aefdefdae106ab44f11ac88645f48f330a)** Reviewer: **Frédéric Chapoton** _Issue created by migration from https://trac.sagemath.org/ticket/28834_