Skip to content

Commit 34c217c

Browse files
Remove unused variables in the test code
1 parent 693ae60 commit 34c217c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/io/pytables/test_store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ class Table3(tables.IsDescription):
309309
with ensure_clean_path(setup_path) as path:
310310
with tables.open_file(path, mode="w") as h5file:
311311
group = h5file.create_group("/", "group")
312-
table1 = h5file.create_table(group, "table1", Table1, "Table 1")
313-
table2 = h5file.create_table(group, "table2", Table2, "Table 2")
314-
table3 = h5file.create_table(group, "table3", Table3, "Table 3")
312+
h5file.create_table(group, "table1", Table1, "Table 1")
313+
h5file.create_table(group, "table2", Table2, "Table 2")
314+
h5file.create_table(group, "table3", Table3, "Table 3")
315315
with HDFStore(path) as store:
316316
assert len(store.keys(kind="tables")) == 3
317317
expected = {"/group/table1", "/group/table2", "/group/table3"}

0 commit comments

Comments
 (0)