Skip to content

Commit

Permalink
Fix test on 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
michalk8 committed Sep 15, 2024
1 parent ab22d48 commit 7b3f3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_lineage.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def test_copy(self, lineage: Lineage):

def test_simple_access(self, lineage: Lineage):
y = lineage.T["foo"]
with pytest.raises(TypeError, match="unhashable type"):
with pytest.raises((IndexError, TypeError)):
_ = lineage.T[:, "foo"]

assert y.shape == (1, lineage.shape[0])
Expand Down

0 comments on commit 7b3f3c8

Please sign in to comment.