python-dask/0001-Mark-test_cov_corr_stable-xfail-on-32-bit.patch
Elliott Sales de Andrade 325cfc4fc4 Initial import (#1684862).
2019-03-06 19:58:51 -05:00

31 lines
1.0 KiB
Diff

From 69f34ed54a9ef88361a2d3dbc25dfe6b099afe81 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 27 Jul 2018 04:34:16 -0400
Subject: [PATCH 1/3] Mark test_cov_corr_stable xfail on 32-bit.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/dataframe/tests/test_dataframe.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
index 6422db37..0b4c7e76 100644
--- a/dask/dataframe/tests/test_dataframe.py
+++ b/dask/dataframe/tests/test_dataframe.py
@@ -1,3 +1,4 @@
+import sys
import textwrap
from distutils.version import LooseVersion
from itertools import product
@@ -2246,6 +2247,7 @@ def test_cov_corr_meta():
assert ddf.a.corr(ddf.b)._meta.dtype == 'f8'
+@pytest.mark.xfail(sys.maxsize <= 2**32, reason='32-bit system')
@pytest.mark.slow
def test_cov_corr_stable():
df = pd.DataFrame(np.random.uniform(-1, 1, (20000000, 2)), columns=['a', 'b'])
--
2.20.1