Skip to content

Commit 0d37d4f

Browse files
mroeschkeyehoshuadimarsky
authored andcommitted
CI: xfail geopandas downstream test on Windows due to fiona install (pandas-dev#46536)
1 parent 3836f87 commit 0d37d4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/tests/test_downstream.py

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import numpy as np
99
import pytest
1010

11+
from pandas.compat import is_platform_windows
1112
import pandas.util._test_decorators as td
1213

1314
import pandas as pd
@@ -225,6 +226,13 @@ def test_pandas_datareader():
225226

226227
# importing from pandas, Cython import warning
227228
@pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning")
229+
@pytest.mark.xfail(
230+
is_platform_windows(),
231+
raises=ImportError,
232+
reason="ImportError: the 'read_file' function requires the 'fiona' package, "
233+
"but it is not installed or does not import correctly",
234+
strict=False,
235+
)
228236
def test_geopandas():
229237

230238
geopandas = import_module("geopandas")

0 commit comments

Comments
 (0)