From: Debian Science Team Date: Tue, 29 May 2018 13:50:59 +0000 (+0100) Subject: mark_tests_working_on_intel X-Git-Tag: archive/raspbian/0.22.0-7+rpi1^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b78aa3d7717e6ab8734cdb17e265f4a09cecbb5f;p=pandas.git mark_tests_working_on_intel Last-Update Sat, 14 Oct 2017 19:42:59 +0200 Bug-Debian: https://bugs.debian.org/877419 Author: Graham Inggs Last-Update: 2018-04-11 Gbp-Pq: Name mark_tests_working_on_intel.patch --- diff --git a/pandas/tests/dtypes/test_cast.py b/pandas/tests/dtypes/test_cast.py index 82a35fa7..491de261 100644 --- a/pandas/tests/dtypes/test_cast.py +++ b/pandas/tests/dtypes/test_cast.py @@ -78,6 +78,7 @@ class TestMaybeDowncast(object): tm.assert_almost_equal(result, np.array([], dtype=np.int64)) assert result.dtype == np.int64 + @pytest.mark.intel def test_datetimelikes_nan(self): arr = np.array([1, 2, np.nan]) exp = np.array([1, 2, np.datetime64('NaT')], dtype='datetime64[ns]') diff --git a/pandas/tests/frame/test_analytics.py b/pandas/tests/frame/test_analytics.py index 97ab0deb..1d3453b0 100644 --- a/pandas/tests/frame/test_analytics.py +++ b/pandas/tests/frame/test_analytics.py @@ -974,6 +974,7 @@ class TestDataFrameAnalytics(TestData): expected = pd.Series(result, index=['A', 'B']) tm.assert_series_equal(result, expected) + @pytest.mark.intel def test_sum_nanops_timedelta(self): # prod isn't defined on timedeltas idx = ['a', 'b', 'c'] diff --git a/pandas/tests/frame/test_indexing.py b/pandas/tests/frame/test_indexing.py index 78554d98..49525f35 100644 --- a/pandas/tests/frame/test_indexing.py +++ b/pandas/tests/frame/test_indexing.py @@ -2649,6 +2649,7 @@ class TestDataFrameIndexing(TestData): result = a.where(do_not_replace, b) assert_frame_equal(result, expected) + @pytest.mark.intel def test_where_datetime(self): # GH 3311 diff --git a/pandas/tests/frame/test_operators.py b/pandas/tests/frame/test_operators.py index 986ba543..bd524147 100644 --- a/pandas/tests/frame/test_operators.py +++ b/pandas/tests/frame/test_operators.py @@ -177,6 +177,7 @@ class TestDataFrameOperators(TestData): df)), 'b': date_range('20100101', periods=len(df))}) check(df, df2) + @pytest.mark.intel def test_timestamp_compare(self): # make sure we can compare Timestamps on the right AND left hand side # GH4982 diff --git a/pandas/tests/groupby/test_aggregate.py b/pandas/tests/groupby/test_aggregate.py index ad1a322f..d6abe1f3 100644 --- a/pandas/tests/groupby/test_aggregate.py +++ b/pandas/tests/groupby/test_aggregate.py @@ -131,6 +131,7 @@ class TestGroupByAggregate(object): grouped = df.groupby(df.index.month) list(grouped) + @pytest.mark.intel def test_agg_dict_parameter_cast_result_dtypes(self): # GH 12821 diff --git a/pandas/tests/indexes/timedeltas/test_ops.py b/pandas/tests/indexes/timedeltas/test_ops.py index 3cf56dc5..d59a6e42 100644 --- a/pandas/tests/indexes/timedeltas/test_ops.py +++ b/pandas/tests/indexes/timedeltas/test_ops.py @@ -1104,6 +1104,7 @@ class TestTimedeltas(object): result = base - offset assert result == expected_sub + @pytest.mark.intel def test_timedelta_ops_with_missing_values(self): # setup s1 = pd.to_timedelta(Series(['00:00:01'])) diff --git a/pandas/tests/series/test_constructors.py b/pandas/tests/series/test_constructors.py index d2960860..d28515d9 100644 --- a/pandas/tests/series/test_constructors.py +++ b/pandas/tests/series/test_constructors.py @@ -786,6 +786,7 @@ class TestSeriesConstructors(TestData): series[2] = val assert isna(series[2]) + @pytest.mark.intel def test_NaT_cast(self): # GH10747 result = Series([np.nan]).astype('M8[ns]') diff --git a/pandas/tests/series/test_period.py b/pandas/tests/series/test_period.py index e907b0ed..d2dc35b9 100644 --- a/pandas/tests/series/test_period.py +++ b/pandas/tests/series/test_period.py @@ -94,6 +94,7 @@ class TestSeriesPeriod(object): series[2] = val assert isna(series[2]) + @pytest.mark.intel def test_NaT_cast(self): result = Series([np.nan]).astype('period[D]') expected = Series([NaT]) diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index 240a7ad4..c4302509 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -688,6 +688,7 @@ class TestValueCounts(object): expected = Series([2, 1, 1], index=[5., 10.3, np.nan]) tm.assert_series_equal(result, expected) + @pytest.mark.intel def test_value_counts_normalized(self): # GH12558 s = Series([1, 2, np.nan, np.nan, np.nan]) diff --git a/pandas/tests/test_resample.py b/pandas/tests/test_resample.py index 04e70264..5f4a3e9d 100644 --- a/pandas/tests/test_resample.py +++ b/pandas/tests/test_resample.py @@ -2204,6 +2204,7 @@ class TestDatetimeIndex(Base): assert_frame_equal(frame.resample('60s').mean(), frame_3s) + @pytest.mark.intel def test_resample_timedelta_values(self): # GH 13119 # check that timedelta dtype is preserved when NaT values are @@ -2221,6 +2222,7 @@ class TestDatetimeIndex(Base): res = df['time'].resample('2D').first() tm.assert_series_equal(res, exp) + @pytest.mark.intel def test_resample_datetime_values(self): # GH 13119 # check that datetime dtype is preserved when NaT values are