From 2d2c7d6ba5f9b260ccb84db506079f1aa430d6ae Mon Sep 17 00:00:00 2001 From: sergiomtzlosa Date: Tue, 10 Sep 2024 10:04:52 +0200 Subject: [PATCH] test to cover label rendering --- tests/test_ui_mpldrawer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():