Skip to content

Commit fab73a7

Browse files
Added .get to test
1 parent 91c81af commit fab73a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/io/pytables/test_store.py

+3
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ class Table3(tables.IsDescription):
362362
expected = {"/group/table1", "/group/table2", "/group/table3"}
363363
assert set(store.keys(include="native")) == expected
364364
assert set(store.keys(include="pandas")) == set()
365+
for name in expected:
366+
df = store.get(name)
367+
assert len(df.columns) == 1
365368

366369
def test_keys_illegal_include_keyword_value(self, setup_path):
367370
with ensure_clean_store(setup_path) as store:

0 commit comments

Comments
 (0)