From 8ef00ae9956b19430bd9f45c34da0448e608539c Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 7 Jul 2017 10:45:15 -0500 Subject: [PATCH] TST/PKG: Move test HDF5 file to legacy It wasn't being picked up in our package data otherwise --- .../periodindex_0.20.1_x86_64_darwin_2.7.13.h5 | Bin pandas/tests/io/test_pytables.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename pandas/tests/io/data/{ => legacy_hdf}/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 (100%) diff --git a/pandas/tests/io/data/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 b/pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 similarity index 100% rename from pandas/tests/io/data/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 rename to pandas/tests/io/data/legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5 diff --git a/pandas/tests/io/test_pytables.py b/pandas/tests/io/test_pytables.py index 69c92dd775b9a..c0d200560b477 100644 --- a/pandas/tests/io/test_pytables.py +++ b/pandas/tests/io/test_pytables.py @@ -5279,7 +5279,8 @@ def test_read_py2_hdf_file_in_py3(self): ['2015-01-01', '2015-01-02', '2015-01-05'], freq='B')) with ensure_clean_store( - tm.get_data_path('periodindex_0.20.1_x86_64_darwin_2.7.13.h5'), + tm.get_data_path( + 'legacy_hdf/periodindex_0.20.1_x86_64_darwin_2.7.13.h5'), mode='r') as store: result = store['p'] assert_frame_equal(result, expected)