Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Fix test_too_many_circuits unit test #669

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/unit/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)