From bbaedea19349132d5ca401b656c6b9432d520e87 Mon Sep 17 00:00:00 2001 From: Davis Silverman Date: Fri, 13 Jun 2025 10:04:05 -0400 Subject: [PATCH] Add a failing test awaiting a fix Signed-off-by: Davis Silverman --- .../perspective/tests/table/test_exception.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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