diff --git a/test/python/visualization/test_dag_drawer.py b/test/python/visualization/test_dag_drawer.py index d789b1e70682..56138c12cf00 100644 --- a/test/python/visualization/test_dag_drawer.py +++ b/test/python/visualization/test_dag_drawer.py @@ -46,6 +46,7 @@ def test_dag_drawer_invalid_style(self): dag_drawer(self.dag, style="multicolor") @unittest.skipUnless(_optionals.HAS_GRAPHVIZ, "Graphviz not installed") + @unittest.skipUnless(_optionals.HAS_PIL, "PIL not installed") def test_dag_drawer_checks_filename_correct_format(self): """filename must contain name and extension""" with self.assertRaisesRegex(