From f7a88f2b2c27017aff7f1b52c51a11648c567a23 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Thu, 7 Nov 2024 15:22:06 -0500 Subject: [PATCH] Skip test_backend_deepcopy if simulator (#2024) --- test/integration/test_backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/test_backend.py b/test/integration/test_backend.py index 74c902210..fa7c35ace 100644 --- a/test/integration/test_backend.py +++ b/test/integration/test_backend.py @@ -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)