Skip to content

Commit 2939329

Browse files
committed
TST: make sure closing all pytables stores
1 parent eb87db9 commit 2939329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/tests/test_pytables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ def test_keys(self):
395395

396396
def test_iter_empty(self):
397397

398-
with ensure_clean_path(self.path) as path:
398+
with ensure_clean_store(self.path) as store:
399399
# GH 12221
400-
self.assertTrue(list(pd.HDFStore(path)) == [])
400+
self.assertTrue(list(store) == [])
401401

402402
def test_repr(self):
403403

0 commit comments

Comments
 (0)