From 13c11f9f638e98f9b34f32fc8fd657f3eb2be36a Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 7 Jul 2017 11:54:04 -0500 Subject: [PATCH] TST/PKG: Move test HDF5 file to legacy (#16856) It wasn't being picked up in our package data otherwise (cherry picked from commit 18f929fa83d2d1f335f8ccf325c05a6ce314b94d) --- .../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 1a6e3e20bdf89..4ad5b0bd08408 100644 --- a/pandas/tests/io/test_pytables.py +++ b/pandas/tests/io/test_pytables.py @@ -5216,7 +5216,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)