From 1f4e1d7d99efe18eb37a6f525b56ec4bb74fd0e7 Mon Sep 17 00:00:00 2001 From: lillian542 Date: Tue, 16 Apr 2024 10:16:01 -0400 Subject: [PATCH] update device tests --- tests/test_device.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_device.py b/tests/test_device.py index aee0e32ddda..18eef9b5b36 100644 --- a/tests/test_device.py +++ b/tests/test_device.py @@ -306,6 +306,7 @@ def test_check_validity_on_valid_queue(self, mock_device_supporting_paulis): # Raises an error if queue or observables are invalid dev.check_validity(queue, observables) + @pytest.mark.usefixtures("use_new_opmath") def test_check_validity_containing_prod(self, mock_device_supporting_prod): """Tests that the function Device.check_validity works with Prod""" @@ -323,6 +324,7 @@ def test_check_validity_containing_prod(self, mock_device_supporting_prod): dev.check_validity(queue, observables) + @pytest.mark.usefixtures("use_new_opmath") def test_prod_containing_unsupported_nested_observables(self, mock_device_supporting_prod): """Tests that the observables nested within Prod are checked for validity"""