Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Sep 11, 2024
1 parent 9446321 commit b728640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/fastcs/panda/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ def test_seq_table_converts_lists():


def test_seq_table_validation_errors():
with pytest.raises(ValidationError, match="80 validation errors for SeqTable"):
with pytest.raises(ValidationError, match="81 validation errors for SeqTable"):
SeqTable(
repeats=0,
trigger="",
trigger="Immediate",
position=0,
time1=0,
outa1=False,
Expand All @@ -40,7 +40,7 @@ def test_seq_table_validation_errors():

large_seq_table = SeqTable(
repeats=np.zeros(4095, dtype=np.int32),
trigger=np.array([""] * 4095, dtype="U32"),
trigger=np.array(["Immediate"] * 4095, dtype="U32"),
position=np.zeros(4095, dtype=np.int32),
time1=np.zeros(4095, dtype=np.int32),
outa1=np.zeros(4095, dtype=np.bool_),
Expand Down

0 comments on commit b728640

Please sign in to comment.