Skip to content

Commit 12fc743

Browse files
authored
Re-enable fake backend tests (#1496)
1 parent 50797a9 commit 12fc743

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

test/integration/test_fake_backends.py

+7-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import itertools
1717
import operator
18-
from unittest import skip
1918

2019
from ddt import ddt, data, idata, unpack
2120

@@ -40,7 +39,6 @@
4039
FAKE_PROVIDER = FakeProvider()
4140

4241

43-
@skip("Skip until Qiskit/11880 is released")
4442
@ddt
4543
class TestFakeBackends(IBMTestCase):
4644
@classmethod
@@ -55,14 +53,13 @@ def setUpClass(cls):
5553
cls.circuit.x(1)
5654
cls.circuit.measure_all()
5755

58-
# TODO re-enable when Qiskit/11880 is released
59-
# @idata(
60-
# itertools.product(
61-
# [be for be in FAKE_PROVIDER_FOR_BACKEND_V2.backends() if be.num_qubits > 1],
62-
# [0, 1, 2, 3],
63-
# )
64-
# )
65-
# @unpack
56+
@idata(
57+
itertools.product(
58+
[be for be in FAKE_PROVIDER_FOR_BACKEND_V2.backends() if be.num_qubits > 1],
59+
[0, 1, 2, 3],
60+
)
61+
)
62+
@unpack
6663
def test_circuit_on_fake_backend_v2(self, backend, optimization_level):
6764
if not optionals.HAS_AER and backend.num_qubits > 20:
6865
self.skipTest("Unable to run fake_backend %s without qiskit-aer" % backend.backend_name)

0 commit comments

Comments
 (0)