From a02dd9637fbeae4bba40c33f391efc8896d17563 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Thu, 6 Jul 2023 12:40:13 -0400 Subject: [PATCH] fix unit test (#669) --- test/unit/test_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_backend.py b/test/unit/test_backend.py index 70f8a5fa8..955b8f725 100644 --- a/test/unit/test_backend.py +++ b/test/unit/test_backend.py @@ -345,6 +345,6 @@ def test_too_many_circuits(self): with self.assertRaises(IBMBackendValueError) as err: backend.run(circs) self.assertIn( - f"Number of circuits {max_circs+1} exceeds backend._max_circuits", + f"Number of circuits, {max_circs+1} exceeds the maximum for this backend, {max_circs}", str(err.exception), )