Could this be simplified to just `unittest.skipIf(...)` with a condition clause based on `dot.DOT_AVAILABLE`?