Skip to content

Commit

Permalink
TST: skip pytables test with not-updated pytables conda package (pand…
Browse files Browse the repository at this point in the history
…as-dev#22099)

(cherry picked from commit 017e910)
  • Loading branch information
jreback authored and TomAugspurger committed Aug 3, 2018
1 parent 12cfef9 commit b9bacc9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pandas/tests/io/test_pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pandas import (Series, DataFrame, Panel, MultiIndex, Int64Index,
RangeIndex, Categorical, bdate_range,
date_range, timedelta_range, Index, DatetimeIndex,
isna, compat, concat, Timestamp)
isna, compat, concat, Timestamp, _np_version_under1p15)

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

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

# 8591
Expand Down

0 comments on commit b9bacc9

Please sign in to comment.