Don't use doctests on things that rely on optional imports, breaks travis doctests.