diff --git a/tests/nested_pandas/nestedframe/test_nestedframe.py b/tests/nested_pandas/nestedframe/test_nestedframe.py index ef40179..e00b215 100644 --- a/tests/nested_pandas/nestedframe/test_nestedframe.py +++ b/tests/nested_pandas/nestedframe/test_nestedframe.py @@ -352,6 +352,10 @@ def test_from_lists(): assert list(res.columns) == ["nested"] assert list(res.nested_columns) == ["nested"] + res = NestedFrame.from_lists(nf, base_columns=None, list_columns=["e"]) + assert list(res.columns) == ["nested"] + assert list(res.nested_columns) == ["nested"] + def test_query(): """Test that NestedFrame.query handles nested queries correctly"""