Skip to content

Commit

Permalink
skip test unless HAS_PIL (Qiskit#13077)
Browse files Browse the repository at this point in the history
  • Loading branch information
tglanz authored Sep 3, 2024
1 parent f882fd5 commit b501db1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/python/visualization/test_dag_drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b501db1

Please sign in to comment.