From 42fc3fb53f563dd04987a1e613a920519e788689 Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Thu, 15 Aug 2024 16:50:48 +0200 Subject: [PATCH] more generic catch --- test/utils/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/base.py b/test/utils/base.py index 5feb14adb7b8..e1b2180aac4e 100644 --- a/test/utils/base.py +++ b/test/utils/base.py @@ -134,7 +134,7 @@ def setUpClass(cls): warnings.filterwarnings( "ignore", # If "default", it floods the CI output category=DeprecationWarning, - message=r".*qiskit\.providers\.models\..*", + message=r".*qiskit\.providers\.models.*", module=r"qiskit_aer(\.[a-zA-Z0-9_]+)*", )