From f9f017de76b6b467ac25c991406987e6bdb4d0b8 Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Mon, 18 Jun 2018 16:31:12 -0400 Subject: [PATCH] Changed parameters for mapd tests. --- ibis/tests/all/test_temporal.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ibis/tests/all/test_temporal.py b/ibis/tests/all/test_temporal.py index 3680e1eab8bc..b49dd8159529 100644 --- a/ibis/tests/all/test_temporal.py +++ b/ibis/tests/all/test_temporal.py @@ -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 @@ -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(