python-dask/0001-Skip-test_encoding_gh6...

34 lines
931 B
Diff
Raw Normal View History

From fa8b097435b666dfaf2fdc0e2c016e9bb8b76197 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 483a5401..2a11deeb 100644
--- a/dask/dataframe/io/tests/test_csv.py
+++ b/dask/dataframe/io/tests/test_csv.py
@@ -1,6 +1,7 @@
from io import BytesIO
import os
import gzip
+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