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_]+)*", )