Skip to content

Commit

Permalink
Fix parallel flag for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Oct 19, 2022
1 parent 949703c commit 319d31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/compiler/test_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ def test_parallel_with_target(self, opt_level):
qc.cx(0, 1)
qc.measure_all()
target = FakeMumbaiV2().target
with patch.dict("os.environ", {"QISKIT_PARALLEL": "FALSE"}):
with patch.dict("os.environ", {"QISKIT_PARALLEL": "TRUE"}):
res = transpile([qc] * 3, target=target, optimization_level=opt_level)
self.assertIsInstance(res, list)
for circ in res:
Expand Down

0 comments on commit 319d31e

Please sign in to comment.