Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvenditto committed Nov 7, 2024
1 parent a9ae984 commit 0c12630
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_ts_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,12 +628,6 @@ def test_setitem_metadata_twice(self, group):
group["a"] = np.arange(len(group)) + 10
assert all(group._metadata["a"] == np.arange(len(group)) + 10)

def test_prevent_overwriting_existing_methods(self, ts_group):
# with pytest.raises(ValueError, match=r"Invalid metadata name"):
# ts_group["set_info"] = np.arange(2)
with pytest.warns(UserWarning, match=r"overlaps with an existing"):
ts_group["set_info"] = np.arange(2)

def test_getitem_ts_object(self, ts_group):
assert isinstance(ts_group[1], nap.Ts)

Expand Down

0 comments on commit 0c12630

Please sign in to comment.