Skip to content

Commit 017e910

Browse files
authored
TST: skip pytables test with not-updated pytables conda package (#22099)
1 parent 114f415 commit 017e910

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/io/test_pytables.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pandas import (Series, DataFrame, Panel, MultiIndex, Int64Index,
1515
RangeIndex, Categorical, bdate_range,
1616
date_range, timedelta_range, Index, DatetimeIndex,
17-
isna, compat, concat, Timestamp)
17+
isna, compat, concat, Timestamp, _np_version_under1p15)
1818

1919
import pandas.util.testing as tm
2020
import pandas.util._test_decorators as td
@@ -2191,6 +2191,10 @@ def test_unimplemented_dtypes_table_columns(self):
21912191
# this fails because we have a date in the object block......
21922192
pytest.raises(TypeError, store.append, 'df_unimplemented', df)
21932193

2194+
@pytest.mark.skipif(
2195+
not _np_version_under1p15,
2196+
reason=("pytables conda build package needs build "
2197+
"with numpy 1.15: gh-22098"))
21942198
def test_calendar_roundtrip_issue(self):
21952199

21962200
# 8591

0 commit comments

Comments
 (0)