Skip to content

Commit

Permalink
fix: rfsoc test
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Aug 14, 2024
1 parent 6072538 commit 0ca412b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_instruments_rfsoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ def test_classify_shots(dummy_qrc):
target_shots = np.array([1, 1, 0, 0, 0, 0, 0])

assert (target_shots == shots).all()
with pytest.raises(ValueError):
instrument.classify_shots(i_val, q_val, qubit1)
shots = instrument.classify_shots(i_val, q_val, qubit1)
assert shots.shape == (7,)


def test_merge_sweep_results(dummy_qrc):
Expand Down

0 comments on commit 0ca412b

Please sign in to comment.