Skip to content

Commit

Permalink
Changed parameters for mapd tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Jun 18, 2018
1 parent 5a342c8 commit f9f017d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ibis/tests/all/test_temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ def test_date_truncate(backend, alltypes, df, unit):

@pytest.mark.parametrize(
'unit',
['Y', pytest.mark.xfail('Q'), 'M', 'W', 'D', 'h', 'm', 's', 'ms', 'us'])
['Y', pytest.mark.xfail('Q'), 'M', 'W', 'D', 'h', 'm', 's',
pytest.mark.xfail('ms'), pytest.mark.xfail('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,9 +193,10 @@ def test_strftime(backend, con, alltypes, df, ibis_pattern, pandas_pattern):
}


@pytest.mark.parametrize('unit', ['D', 's', 'ms', 'us', 'ns'])
@pytest.mark.parametrize(
'unit', ['D', 's', 'ms', pytest.mark.xfail('us'), pytest.mark.xfail('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 f9f017d

Please sign in to comment.