Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions rust/perspective-python/perspective/tests/table/test_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ def test_exception_from_core_correct_types(self):
tbl.view(group_by=["b"])

assert str(ex.value) == "Abort(): Invalid column 'b' found in View group_by.\n"

def test_exception_from_csv_update_with_no_header(self):
tbl = Table({ "stringcol": "string" })
data = "rowval \n another row val"
errored = False
try:
tbl.update(data)
except:
errored = True
assert errored
Loading