Add patch to skip flaky test on big-endian machines.
This commit is contained in:
parent
a8772d4c80
commit
fef2284427
33
0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
Normal file
33
0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
Normal file
@ -0,0 +1,33 @@
|
||||
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
|
||||
|
@ -13,6 +13,8 @@ Summary: Parallel PyData with Task Scheduling
|
||||
License: BSD
|
||||
URL: https://github.com/dask/dask/
|
||||
Source0: %pypi_source
|
||||
# https://github.com/dask/dask/issues/6725
|
||||
Patch0001: 0001-Skip-test_encoding_gh601-on-big-endian-machines.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user