mark_tests_working_on_intel_s390x
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 24 Oct 2017 19:26:02 +0000 (20:26 +0100)
committerAndreas Tille <tille@debian.org>
Tue, 24 Oct 2017 19:26:02 +0000 (20:26 +0100)
Gbp-Pq: Name mark_tests_working_on_intel_s390x.patch

pandas/tests/dtypes/test_cast.py
pandas/tests/frame/test_convert_to.py
pandas/tests/indexes/datetimes/test_formats.py
pandas/tests/indexes/period/test_formats.py
pandas/tests/io/test_packers.py

index 48d875668dfc3f06f4993d8fba2f5093b5179a56..3d41bce7c55600762dcfdd411d691266e22d2a9f 100644 (file)
@@ -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_),
index e0cdca7904db7db85bc89244af14afb62a7b0800..0b211ebd198cebf54da0dfa17a4e499d6dd55cf8 100644 (file)
@@ -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
index ea2731f66f0ef586e15577301b24887abf21597a..699d625a4661f87f7b8c630fc6a2e98c0b204554 100644 (file)
@@ -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')
 
index 533481ce051f754b0346a2edef2f5db83e9ebdd9..225437a5f788110740ef6bcab7522e0a81f659ab 100644 (file)
@@ -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')
index fd42becca3ac301cc65198c942eef9f17861dc0c..63ef8fc0af56b5f386a7ce94a6dff4ef0196e73f 100644 (file)
@@ -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):