python-dask/0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
Elliott Sales de Andrade 56587f3ffc Update to latest version.
2021-04-02 20:09:47 -04:00

34 lines
931 B
Diff

From 57a2787dd45644116631b8f34802c7986c60d76a Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 7 Mar 2021 04:07:32 -0500
Subject: [PATCH] Skip test_encoding_gh601 on big-endian machines.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
dask/dataframe/io/tests/test_csv.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dask/dataframe/io/tests/test_csv.py b/dask/dataframe/io/tests/test_csv.py
index 7ba5d31a..a99efde5 100644
--- a/dask/dataframe/io/tests/test_csv.py
+++ b/dask/dataframe/io/tests/test_csv.py
@@ -1,6 +1,7 @@
import gzip
import os
from io import BytesIO
+import sys
from time import sleep
from unittest import mock
@@ -1075,6 +1076,7 @@ xfail_pandas_100 = pytest.mark.xfail(
)
+@pytest.mark.skipif(sys.byteorder == 'big', reason='Broken on big-endian machines')
@pytest.mark.parametrize(
"encoding",
[
--
2.29.2