From f8adadcc73e9272ebfb205db4eff18b25fc8e35e Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Fri, 2 Aug 2024 13:43:50 -0400 Subject: [PATCH] Add spaces to deprecation warning about `qiskit.providers.models` (#12894) (cherry picked from commit ebb86b00e3b53670d6fe12b4e8bc00c56bbd6452) --- qiskit/providers/models/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qiskit/providers/models/__init__.py b/qiskit/providers/models/__init__.py index 58fafed92986..d9e63e3eb75c 100644 --- a/qiskit/providers/models/__init__.py +++ b/qiskit/providers/models/__init__.py @@ -54,10 +54,10 @@ warnings.warn( - "qiskit.providers.models is deprecated since Qiskit 1.2 and will be removed in Qiskit 2.0." - "With the removal of Qobj, there is no need for these schema-conformant objects. If you still need" - "to use them, it could be because you are using a BackendV1, which is also deprecated in favor" - "of BackendV2", + "qiskit.providers.models is deprecated since Qiskit 1.2 and will be removed in Qiskit 2.0. " + "With the removal of Qobj, there is no need for these schema-conformant objects. If you still need " + "to use them, it could be because you are using a BackendV1, which is also deprecated in favor " + "of BackendV2.", DeprecationWarning, 2, )