Skip to content

Commit 93c47d4

Browse files
Remove unused variables in the test code
1 parent f8ceddd commit 93c47d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/io/pytables/test_store.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ class Table3(tables.IsDescription):
311311
with ensure_clean_path(setup_path) as path:
312312
with tables.open_file(path, mode="w") as h5file:
313313
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")
314+
h5file.create_table(group, "table1", Table1, "Table 1")
315+
h5file.create_table(group, "table2", Table2, "Table 2")
316+
h5file.create_table(group, "table3", Table3, "Table 3")
317317
with HDFStore(path) as store:
318318
assert len(store.keys(kind="tables")) == 3
319319
expected = {"/group/table1", "/group/table2", "/group/table3"}

0 commit comments

Comments
 (0)