Skip to content

Commit

Permalink
Check error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lan496 committed Feb 3, 2024
1 parent 790b63c commit 1ded420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/python/test_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

def test_expand_cell():
with pytest.raises(TypeError) as e:
_expand_cell(None)
assert e.value
_expand_cell(([], [], [], [], []))
assert str(e.value) == "cell has to be a tuple of 3 or 4 elements."

0 comments on commit 1ded420

Please sign in to comment.