From 630755d0917af8330b0be4c931706e6a9b3ceeab Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sat, 4 Nov 2017 00:02:42 +0000 Subject: [PATCH] mark_tests_working_on_intel_s390x Gbp-Pq: Name mark_tests_working_on_intel_s390x.patch --- pandas/tests/dtypes/test_cast.py | 1 + pandas/tests/frame/test_convert_to.py | 1 + pandas/tests/indexes/datetimes/test_formats.py | 3 ++- pandas/tests/indexes/period/test_formats.py | 3 ++- pandas/tests/io/test_packers.py | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandas/tests/dtypes/test_cast.py b/pandas/tests/dtypes/test_cast.py index 48d87566..3d41bce7 100644 --- a/pandas/tests/dtypes/test_cast.py +++ b/pandas/tests/dtypes/test_cast.py @@ -137,6 +137,7 @@ class TestInferDtype(object): dtype, val = infer_dtype_from_scalar(data) assert dtype == np.object_ + @pytest.mark.intel @pytest.mark.parametrize( "arr, expected", [('foo', np.object_), diff --git a/pandas/tests/frame/test_convert_to.py b/pandas/tests/frame/test_convert_to.py index e0cdca79..0b211ebd 100644 --- a/pandas/tests/frame/test_convert_to.py +++ b/pandas/tests/frame/test_convert_to.py @@ -175,6 +175,7 @@ class TestDataFrameConvertTo(TestData): expected = np.rec.array([('x', 'y')], dtype=[('a', 'O'), ('b', 'O')]) tm.assert_almost_equal(result, expected) + @pytest.mark.intel def test_to_records_with_unicode_column_names(self): # xref issue: https://github.com/numpy/numpy/issues/2407 # Issue #11879. to_records used to raise an exception when used diff --git a/pandas/tests/indexes/datetimes/test_formats.py b/pandas/tests/indexes/datetimes/test_formats.py index ea2731f6..699d625a 100644 --- a/pandas/tests/indexes/datetimes/test_formats.py +++ b/pandas/tests/indexes/datetimes/test_formats.py @@ -2,10 +2,11 @@ from pandas import DatetimeIndex import numpy as np +import pytest import pandas.util.testing as tm import pandas as pd - +@pytest.mark.intel def test_to_native_types(): index = DatetimeIndex(freq='1D', periods=3, start='2017-01-01') diff --git a/pandas/tests/indexes/period/test_formats.py b/pandas/tests/indexes/period/test_formats.py index 533481ce..225437a5 100644 --- a/pandas/tests/indexes/period/test_formats.py +++ b/pandas/tests/indexes/period/test_formats.py @@ -2,10 +2,11 @@ from pandas import PeriodIndex import numpy as np +import pytest import pandas.util.testing as tm import pandas as pd - +@pytest.mark.intel def test_to_native_types(): index = PeriodIndex(['2017-01-01', '2017-01-02', '2017-01-03'], freq='D') diff --git a/pandas/tests/io/test_packers.py b/pandas/tests/io/test_packers.py index fd42becc..63ef8fc0 100644 --- a/pandas/tests/io/test_packers.py +++ b/pandas/tests/io/test_packers.py @@ -59,6 +59,7 @@ def all_packers_data(): return create_data() +@pytest.mark.intel def check_arbitrary(a, b): if isinstance(a, (list, tuple)) and isinstance(b, (list, tuple)): @@ -901,6 +902,7 @@ TestPackers else: tm.assert_frame_equal(result, expected) + @pytest.mark.intel @pytest.mark.parametrize('version', legacy_packers_versions()) def test_msgpacks_legacy(self, current_packers_data, all_packers_data, version): -- 2.30.2