diff --git a/tests/test_ui_mpldrawer.py b/tests/test_ui_mpldrawer.py index 7833162c93..77c9a20f07 100644 --- a/tests/test_ui_mpldrawer.py +++ b/tests/test_ui_mpldrawer.py @@ -282,7 +282,7 @@ def test_render_label_empty(): def test_render_label_not_empty(): inits = {"q_0": r"\psi"} - _render_label("q_0", inits) != "" + assert _render_label("q_0", inits) != "" def test_cluster_gates():