Skip to content

Commit

Permalink
Merge pull request #611 from sinchana-kumbale/sinchana/test-coverage-…
Browse files Browse the repository at this point in the history
…remove-table-row

Add test for tables.remove method
  • Loading branch information
davidwagner committed Mar 14, 2024
2 parents 9a200e0 + 12b2b12 commit 0c82a19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_tables.py
Expand Up @@ -1158,6 +1158,11 @@ def test_remove_single(table):
z | 1 | 10
""")

def test_remove_none(table):
num_rows_before = table.num_rows
assert table.remove([]) is None
assert table.num_rows == num_rows_before

def test_remove_zeroth_row(table):
table.remove(0)
assert_equal(table, """
Expand Down

0 comments on commit 0c82a19

Please sign in to comment.