diff --git a/pandas/io/tests/legacy_table.h5 b/pandas/io/tests/legacy_table.h5 index 5f4089efc15c3..1c90382d9125c 100644 Binary files a/pandas/io/tests/legacy_table.h5 and b/pandas/io/tests/legacy_table.h5 differ diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index 6f11ebdaaa7b3..86b183c7bfc76 100644 --- a/pandas/io/tests/test_pytables.py +++ b/pandas/io/tests/test_pytables.py @@ -1654,11 +1654,11 @@ def test_legacy_table_read(self): # force the frame store.select('df2', typ = 'legacy_frame') - self.assertRaises(Exception, store.select, 'wp1', Term('minor_axis','=','B')) - # old version warning import warnings warnings.filterwarnings('ignore', category=IncompatibilityWarning) + self.assertRaises(Exception, store.select, 'wp1', Term('minor_axis','=','B')) + df2 = store.select('df2') store.select('df2', Term('index', '>', df2.index[2])) warnings.filterwarnings('always', category=IncompatibilityWarning) @@ -1674,16 +1674,17 @@ def test_legacy_0_10_read(self): store.close() def test_legacy_table_write(self): + raise nose.SkipTest # legacy table types pth = curpath() df = tm.makeDataFrame() wp = tm.makePanel() store = HDFStore(os.path.join(pth, 'legacy_table.h5'), 'a') - + self.assertRaises(Exception, store.append, 'df1', df) self.assertRaises(Exception, store.append, 'wp1', wp) - + store.close() def test_store_datetime_fractional_secs(self):