diff --git a/rust/perspective-python/perspective/tests/table/test_exception.py b/rust/perspective-python/perspective/tests/table/test_exception.py index 9613bb9fde..c0231e2bff 100644 --- a/rust/perspective-python/perspective/tests/table/test_exception.py +++ b/rust/perspective-python/perspective/tests/table/test_exception.py @@ -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