Skip to content

Commit f23c6b0

Browse files
authored
Remove xfail on a seeded non-flaky test (#1982)
**Context:** A test marked xfail with the reason being flaky is not actually flaky. We probably just forgot to remove the xfail? **Description of the Change:** Remove the xfail mark on the test. **Benefits:** One less xfail.
1 parent 139db7b commit f23c6b0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

frontend/test/pytest/test_mid_circuit_measurement.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,6 @@ def circuit(x):
548548
assert result.shape == (shots,)
549549
assert jnp.allclose(result, expected)
550550

551-
@pytest.mark.xfail(
552-
reason="Midcircuit measurements with sampling is unseeded and hence this test is flaky"
553-
)
554551
@pytest.mark.parametrize("shots", [10000])
555552
@pytest.mark.parametrize("postselect", [None, 0, 1])
556553
@pytest.mark.parametrize("measure_f", [qml.counts, qml.expval, qml.probs, qml.sample, qml.var])

0 commit comments

Comments
 (0)