Skip to content

Commit

Permalink
CI: xfail geopandas downstream test on MacOS due to fiona install (pa…
Browse files Browse the repository at this point in the history
…ndas-dev#46296)

* CI: xfail geopandas downstream test on MacOS due to fiona install

* More specific case

* Just skip generally for mac
  • Loading branch information
mroeschke authored and yehoshuadimarsky committed Jul 13, 2022
1 parent c3cf1b8 commit a92b8d5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import numpy as np
import pytest

from pandas.compat import is_platform_mac
import pandas.util._test_decorators as td

import pandas as pd
Expand Down Expand Up @@ -196,6 +197,13 @@ def test_pandas_datareader():

# importing from pandas, Cython import warning
@pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning")
@pytest.mark.xfail(
is_platform_mac(),
raises=ImportError,
reason="ImportError: the 'read_file' function requires the 'fiona' package, "
"but it is not installed or does not import correctly",
strict=False,
)
def test_geopandas():

geopandas = import_module("geopandas")
Expand Down

0 comments on commit a92b8d5

Please sign in to comment.