2019-09-28 07:21:26 +00:00
|
|
|
From 6996dbcd6305e8108686cc460690113e041bcd89 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-09-14 00:09:50 +00:00
|
|
|
Subject: [PATCH] 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>
|
|
|
|
---
|
2019-09-14 00:09:50 +00:00
|
|
|
dask/dataframe/tests/test_dataframe.py | 5 +++++
|
|
|
|
1 file changed, 5 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-09-28 07:21:26 +00:00
|
|
|
index 8a73df55..85cd6f2c 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
|
2019-04-29 21:27:16 +00:00
|
|
|
import warnings
|
2019-03-10 01:01:50 +00:00
|
|
|
from itertools import product
|
2019-09-28 07:21:26 +00:00
|
|
|
from operator import add
|
|
|
|
@@ -1733,6 +1734,10 @@ def test_repartition_on_pandas_dataframe():
|
2019-09-14 00:09:50 +00:00
|
|
|
@pytest.mark.parametrize("dtype", [float, "M8[ns]"])
|
|
|
|
@pytest.mark.parametrize("transform", [lambda df: df, lambda df: df.x])
|
|
|
|
def test_repartition_npartitions(use_index, n, k, dtype, transform):
|
|
|
|
+ if (platform.machine() in ('ppc64le', 'aarch64', 's390x') and
|
|
|
|
+ (dtype, k, n, use_index) == (float, 5, 1, True)):
|
|
|
|
+ pytest.xfail(reason='Unsupported architecture')
|
|
|
|
+
|
|
|
|
df = pd.DataFrame(
|
|
|
|
{"x": [1, 2, 3, 4, 5, 6] * 10, "y": list("abdabd") * 10},
|
|
|
|
index=pd.Series([10, 20, 30, 40, 50, 60] * 10, dtype=dtype),
|
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
|
|
|
|