Skip to content

Commit

Permalink
Skip tests for mapd about time units issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Jun 5, 2018
1 parent 0c2cc75 commit 4f38f5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ibis/tests/all/test_temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def test_timestamp_extract(backend, alltypes, df, attr):
param('ns', marks=pytest.mark.xfail)
])
@tu.skipif_unsupported
@tu.skipif_backend('MapD')
def test_timestamp_truncate(backend, alltypes, df, unit):
expr = alltypes.timestamp_col.truncate(unit)

Expand Down Expand Up @@ -78,6 +79,7 @@ def test_date_truncate(backend, alltypes, df, unit):
'unit',
['Y', pytest.mark.xfail('Q'), 'M', 'W', 'D', 'h', 'm', 's', 'ms', 'us'])
@tu.skipif_unsupported
@tu.skipif_backend('MapD')
def test_integer_to_interval_timestamp(backend, con, alltypes, df, unit):
interval = alltypes.int_col.to_interval(unit=unit)
expr = alltypes.timestamp_col + interval
Expand Down Expand Up @@ -192,6 +194,7 @@ def test_strftime(backend, con, alltypes, df, ibis_pattern, pandas_pattern):

@pytest.mark.parametrize('unit', ['D', 's', 'ms', 'us', 'ns'])
@tu.skipif_unsupported
@tu.skipif_backend('MapD')
def test_to_timestamp(backend, con, alltypes, df, unit):
if unit not in backend.supported_to_timestamp_units:
pytest.skip(
Expand Down

0 comments on commit 4f38f5a

Please sign in to comment.