Skip to content

Commit 1d99e93

Browse files
committed
add another test
1 parent 8374b5e commit 1d99e93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/nested_pandas/nestedframe/test_io.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,3 +466,10 @@ def test_list_struct_partial_loading_error():
466466
# Load in the example file
467467
with pytest.raises(ValueError):
468468
read_parquet("tests/list_struct_data/list_struct.parquet", columns=["lightcurve.hmjd"])
469+
470+
471+
def test_normal_loading_error():
472+
"""Test that making a normal naming mistake raises the normal pyarrow error."""
473+
# Load in the example file
474+
with pytest.raises(ValueError):
475+
read_parquet("tests/test_data/nested.parquet", columns=["not_a_column"])

0 commit comments

Comments
 (0)