Skip to content

Commit

Permalink
Add test to cover non-negative int descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Feb 19, 2024
1 parent 1b02883 commit bd0bb13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pybv/tests/test_bv_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def test_non_stim_resp_event_first(tmpdir):
(events_array, ""),
(None, ""),
(np.arange(90).reshape(30, 3), ""),
(np.array([[0, -1]]), "descriptions must be non-negative ints"),
],
)
def test_bv_writer_events_array(tmpdir, events_errormsg):
Expand Down

0 comments on commit bd0bb13

Please sign in to comment.