Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pandas/tests/test_downstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
import numpy as np
import pytest

from pandas.compat import (
PY39,
PY310,
is_platform_mac,
)
import pandas.util._test_decorators as td

import pandas as pd
Expand Down Expand Up @@ -196,6 +201,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() and (PY39 or PY310),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw a failure in python 3.8 test on MacOS as well.

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