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

b566f18
From f340755fc0bc2c05241834517ce18600a50346c5 Mon Sep 17 00:00:00 2001
6d942e3
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
6d942e3
Date: Sun, 7 Mar 2021 04:07:32 -0500
2b65f28
Subject: [PATCH 1/6] Skip test_encoding_gh601 on big-endian machines.
6d942e3
6d942e3
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
6d942e3
---
6d942e3
 dask/dataframe/io/tests/test_csv.py | 2 ++
6d942e3
 1 file changed, 2 insertions(+)
6d942e3
6d942e3
diff --git a/dask/dataframe/io/tests/test_csv.py b/dask/dataframe/io/tests/test_csv.py
39f1a49
index 198b3a9c..00150ede 100644
6d942e3
--- a/dask/dataframe/io/tests/test_csv.py
6d942e3
+++ b/dask/dataframe/io/tests/test_csv.py
b17de15
@@ -4,6 +4,7 @@ import gzip
56587f3
 import os
7e84e06
 import warnings
6d942e3
 from io import BytesIO, StringIO
fef2284
+import sys
fef2284
 from unittest import mock
fef2284
 
b2522d5
 import pytest
39f1a49
@@ -1158,6 +1159,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
     [
6d942e3
-- 
39f1a49
2.43.0
6d942e3