Skip to content

Commit

Permalink
Skip o3 qpy full path transpile test on windows
Browse files Browse the repository at this point in the history
In CI we're seeing a reliable failure on windows when scipy is calling
LAPACK. This appears to be unrelated to the change in this PR branch and
is isolated to specific windows environments. This commit adds a skip
condition to skip that one test to workaround the failure in CI. The
wider issue with scipy compatibility on windows is being tracked in
issue Qiskit#10345, when we have a conclusion to that and can reliably run
this test we should remove this skip condition.
  • Loading branch information
mtreinish committed Jul 21, 2023
1 parent 4b64716 commit b1a3d11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/python/compiler/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,11 @@ def test_qpy_roundtrip_backendv2(self, optimization_level):
def test_qpy_roundtrip_control_flow(self, optimization_level):
"""Test that the output of a transpiled circuit with control flow can be round-tripped
through QPY."""
if optimization_level == 3 and sys.platform == "win32":
self.skipTest(
"This test case triggers a bug in the eigensolver routine on windows. "
"See #10345 for more details."
)

backend = FakeMelbourne()
transpiled = transpile(
Expand Down

0 comments on commit b1a3d11

Please sign in to comment.