Skip to content

Commit

Permalink
Skip test_backend_deepcopy if simulator (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Nov 7, 2024
1 parent b80e4a0 commit f7a88f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ def test_backend_invalid_attribute(self):

def test_backend_deepcopy(self):
"""Test that deepcopy on IBMBackend works correctly"""
if self.backend.simulator:
raise SkipTest("Simulator has no backend defaults.")
backend = self.backend
with self.subTest(backend=backend.name):
backend_copy = copy.deepcopy(backend)
Expand Down

0 comments on commit f7a88f2

Please sign in to comment.