python-dask/0001-XFail-partitioning-tes...

33 lines
1.2 KiB
Diff

From e345f8ccac67954c7b95be2be8f4f794135144f3 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 3 Mar 2019 05:24:13 -0500
Subject: [PATCH] XFail partitioning test on some arches.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/dataframe/tests/test_dataframe.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
index 7ddd900f..7c16c770 100644
--- a/dask/dataframe/tests/test_dataframe.py
+++ b/dask/dataframe/tests/test_dataframe.py
@@ -1,3 +1,4 @@
+import platform
import textwrap
from distutils.version import LooseVersion
from itertools import product
@@ -1329,6 +1330,9 @@ def test_repartition_on_pandas_dataframe():
assert_eq(ddf, df.y)
+@pytest.mark.xfail(platform.machine() in ('ppc64', 'ppc64le', 'aarch64', 's390x',
+ 'i686', 'i586', 'i386'),
+ reason='Unsupported architecture')
@pytest.mark.parametrize('use_index', [True, False])
@pytest.mark.parametrize('n', [1, 2, 4, 5])
@pytest.mark.parametrize('k', [1, 2, 4, 5])
--
2.20.1