Skip to content

Commit

Permalink
undo xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
timmysilv committed Dec 6, 2024
1 parent b957839 commit da399ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/decoders/test_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ def test_correction_check(self, enc_state):
plane_parities = np.array(surface_dict[pl], dtype=bool)
if len(plane_parities):
# Check that parity along a plane is conserved.
if not (np.all(plane_parities) or np.all(plane_parities ^ 1)):
pytest.xfail("Parity is not conserved.")
assert np.all(plane_parities) or np.all(plane_parities ^ 1)
if np.all(plane_parities ^ 1):
failure_events += [1]

Expand Down

0 comments on commit da399ee

Please sign in to comment.