Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshadrach committed Jan 5, 2025
1 parent 4d11a1d commit d3468cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,8 +1319,8 @@ def nullable_string_dtype(request):

@pytest.fixture(
params=[
pytest.param(pd.StringDtype("pyarrow", np.nan), marks=td.skip_if_no("pyarrow")),
pytest.param(pd.StringDtype("pyarrow", pd.NA), marks=td.skip_if_no("pyarrow")),
pytest.param(("pyarrow", np.nan), marks=td.skip_if_no("pyarrow")),
pytest.param(("pyarrow", pd.NA), marks=td.skip_if_no("pyarrow")),
]
)
def pyarrow_string_dtype(request):
Expand All @@ -1330,7 +1330,7 @@ def pyarrow_string_dtype(request):
* 'str[pyarrow]'
* 'string[pyarrow]'
"""
return request.param
return pd.StringDtype(*request.param)


@pytest.fixture(
Expand Down

0 comments on commit d3468cc

Please sign in to comment.