python-dask/0001-XFail-partitioning-test-on-some-arches.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

2019-07-23 05:48:25 +00:00
From abddcd7c2c6dc6cc72af8f4a7fb44e317994cef9 Mon Sep 17 00:00:00 2001
2019-03-07 00:58:51 +00:00
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 3 Mar 2019 05:24:13 -0500
2019-07-23 05:48:25 +00:00
Subject: [PATCH 1/3] XFail partitioning test on some arches.
2019-03-07 00:58:51 +00:00
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/dataframe/tests/test_dataframe.py | 4 ++++
1 file changed, 4 insertions(+)
2019-03-07 00:58:51 +00:00
diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
2019-07-23 05:48:25 +00:00
index 387d39ac..e0160734 100644
2019-03-07 00:58:51 +00:00
--- a/dask/dataframe/tests/test_dataframe.py
+++ b/dask/dataframe/tests/test_dataframe.py
@@ -1,3 +1,4 @@
+import platform
import textwrap
2019-04-29 21:27:16 +00:00
import warnings
2019-03-10 01:01:50 +00:00
from itertools import product
2019-07-23 05:48:25 +00:00
@@ -1722,6 +1723,9 @@ def test_repartition_on_pandas_dataframe():
2019-03-07 00:58:51 +00:00
assert_eq(ddf, df.y)
2019-04-01 07:43:37 +00:00
+@pytest.mark.xfail(platform.machine() in ('ppc64', 'ppc64le', 'aarch64', 's390x',
+ 'i686', 'i586', 'i386'),
2019-03-07 00:58:51 +00:00
+ reason='Unsupported architecture')
2019-07-23 05:48:25 +00:00
@pytest.mark.parametrize("use_index", [True, False])
@pytest.mark.parametrize("n", [1, 2, 4, 5])
@pytest.mark.parametrize("k", [1, 2, 4, 5])
2019-03-07 00:58:51 +00:00
--
2019-07-23 05:48:25 +00:00
2.21.0
2019-03-07 00:58:51 +00:00