From d79b414d398651c4c2531012a7ab318209a0065f Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 29 Jul 2018 19:34:39 -0400
Subject: [PATCH] Skip test_overlay_nybb on broken platforms.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
geopandas/tests/test_overlay.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/geopandas/tests/test_overlay.py b/geopandas/tests/test_overlay.py
index 467fbb9..e26c00a 100644
--- a/geopandas/tests/test_overlay.py
+++ b/geopandas/tests/test_overlay.py
@@ -1,4 +1,5 @@
import os
+import platform
import pandas as pd
@@ -107,6 +108,9 @@ def test_overlay(dfs_index, how):
@pytest.mark.filterwarnings("ignore:GeoSeries crs mismatch:UserWarning")
def test_overlay_nybb(how):
+ if how != 'difference' and platform.machine() in ('aarch64', 'ppc64le', 's390x'):
+ pytest.xfail('platform-specific problems')
+
polydf = read_file(geopandas.datasets.get_path("nybb"))
# construct circles dataframe
--
2.25.4