From 3cede6d7fae35dd2ad68b1dc22a65370d1113eb4 Mon Sep 17 00:00:00 2001 From: kevin-tian Date: Thu, 6 Jul 2023 12:28:40 -0400 Subject: [PATCH] fix unit test --- 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), )