Skip to content

Commit 572be6a

Browse files
committed
skip test for qpy10
1 parent 971fb70 commit 572be6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/python/qpy/test_circuit_load_from_qpy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import io
1616
import struct
17+
import unittest
1718

1819
from ddt import ddt, data
1920

@@ -244,6 +245,7 @@ def test_no_register(self, opt_level):
244245
class TestVersionArg(QpyCircuitTestCase):
245246
"""Test explicitly setting a qpy version in dump()."""
246247

248+
@unittest.skipIf(QPY_COMPATIBILITY_VERSION > 10, "Test only valid for version 10.")
247249
def test_custom_gate_name_overlap_persists_with_minimum_version(self):
248250
"""Assert the fix in version 11 doesn't get used if an older version is request."""
249251

0 commit comments

Comments
 (0)