We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4784c17 commit b42bcbfCopy full SHA for b42bcbf
pandas/tests/io/pytables/test_store.py
@@ -311,9 +311,9 @@ class Table3(tables.IsDescription):
311
with ensure_clean_path(setup_path) as path:
312
with tables.open_file(path, mode="w") as h5file:
313
group = h5file.create_group("/", "group")
314
- table1 = h5file.create_table(group, "table1", Table1, "Table 1")
315
- table2 = h5file.create_table(group, "table2", Table2, "Table 2")
316
- table3 = h5file.create_table(group, "table3", Table3, "Table 3")
+ h5file.create_table(group, "table1", Table1, "Table 1")
+ h5file.create_table(group, "table2", Table2, "Table 2")
+ h5file.create_table(group, "table3", Table3, "Table 3")
317
with HDFStore(path) as store:
318
assert len(store.keys(kind="tables")) == 3
319
expected = {"/group/table1", "/group/table2", "/group/table3"}
0 commit comments