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

34 lines
1.0 KiB
Diff
Raw Normal View History

2023-05-08 03:22:38 +00:00
From 5ee683719a19c8865a7b80725a0adf55baa3e9c9 Mon Sep 17 00:00:00 2001
2022-11-20 08:33:47 +00:00
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 7 Mar 2021 04:07:32 -0500
2022-12-19 00:24:16 +00:00
Subject: [PATCH 1/2] Skip test_encoding_gh601 on big-endian machines.
2022-11-20 08:33:47 +00:00
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
2023-05-08 03:22:38 +00:00
index b50a727b..0ac1df4c 100644
2022-11-20 08:33:47 +00:00
--- a/dask/dataframe/io/tests/test_csv.py
+++ b/dask/dataframe/io/tests/test_csv.py
@@ -2,6 +2,7 @@ import gzip
2021-04-03 00:09:47 +00:00
import os
import warnings
2022-11-20 08:33:47 +00:00
from io import BytesIO, StringIO
+import sys
from unittest import mock
2021-07-11 07:55:07 +00:00
import pytest
2023-05-08 03:22:38 +00:00
@@ -1146,6 +1147,7 @@ def test_read_csv_with_datetime_index_partitions_n():
2021-08-14 08:56:37 +00:00
xfail_pandas_100 = pytest.mark.xfail(reason="https://github.com/dask/dask/issues/5787")
+@pytest.mark.skipif(sys.byteorder == 'big', reason='Broken on big-endian machines')
@pytest.mark.parametrize(
"encoding",
[
2022-11-20 08:33:47 +00:00
--
2023-05-08 03:22:38 +00:00
2.40.0
2022-11-20 08:33:47 +00:00