Skip to content
Merged
Changes from all 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
10 changes: 9 additions & 1 deletion pygmt/tests/test_clib_to_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,15 @@ def test_to_numpy_pandas_numeric_with_na(dtype, expected_dtype):
"U10",
"string[python]",
pytest.param("string[pyarrow]", marks=skip_if_no(package="pyarrow")),
pytest.param("string[pyarrow_numpy]", marks=skip_if_no(package="pyarrow")),
pytest.param(
# TODO(pandas>=3.0): Remove the string[pyarrow_numpy] else statement
(
"str" # pyarrow string dtype in pandas>=3.0
if Version(pd.__version__) >= Version("3.0.0.dev0")
else "string[pyarrow_numpy]"
),
marks=skip_if_no(package="pyarrow"),
),
],
)
def test_to_numpy_pandas_string(dtype):
Expand Down
Loading