Blame 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch

bcf75f4
From 5d9cdaa75e0547d8d5edf8c995f29279688f7e11 Mon Sep 17 00:00:00 2001
fef2284
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
fef2284
Date: Sun, 7 Mar 2021 04:07:32 -0500
fab7aee
Subject: [PATCH 1/2] Skip test_encoding_gh601 on big-endian machines.
fef2284
fef2284
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
fef2284
---
fef2284
 dask/dataframe/io/tests/test_csv.py | 2 ++
fef2284
 1 file changed, 2 insertions(+)
fef2284
fef2284
diff --git a/dask/dataframe/io/tests/test_csv.py b/dask/dataframe/io/tests/test_csv.py
bcf75f4
index 48780ef8..f63d0e80 100644
fef2284
--- a/dask/dataframe/io/tests/test_csv.py
fef2284
+++ b/dask/dataframe/io/tests/test_csv.py
fef2284
@@ -1,6 +1,7 @@
fef2284
 import gzip
56587f3
 import os
56587f3
 from io import BytesIO
fef2284
+import sys
fef2284
 from unittest import mock
fef2284
 
b2522d5
 import pytest
bcf75f4
@@ -1099,6 +1100,7 @@ def test_read_csv_with_datetime_index_partitions_n():
bcf75f4
 xfail_pandas_100 = pytest.mark.xfail(reason="https://github.com/dask/dask/issues/5787")
fef2284
 
fef2284
 
fef2284
+@pytest.mark.skipif(sys.byteorder == 'big', reason='Broken on big-endian machines')
fef2284
 @pytest.mark.parametrize(
fef2284
     "encoding",
fef2284
     [
fef2284
-- 
8ba0c74
2.31.1
fef2284