Skip to content

Commit d3468cc

Browse files
committed
Fixup
1 parent 4d11a1d commit d3468cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,8 +1319,8 @@ def nullable_string_dtype(request):
13191319

13201320
@pytest.fixture(
13211321
params=[
1322-
pytest.param(pd.StringDtype("pyarrow", np.nan), marks=td.skip_if_no("pyarrow")),
1323-
pytest.param(pd.StringDtype("pyarrow", pd.NA), marks=td.skip_if_no("pyarrow")),
1322+
pytest.param(("pyarrow", np.nan), marks=td.skip_if_no("pyarrow")),
1323+
pytest.param(("pyarrow", pd.NA), marks=td.skip_if_no("pyarrow")),
13241324
]
13251325
)
13261326
def pyarrow_string_dtype(request):
@@ -1330,7 +1330,7 @@ def pyarrow_string_dtype(request):
13301330
* 'str[pyarrow]'
13311331
* 'string[pyarrow]'
13321332
"""
1333-
return request.param
1333+
return pd.StringDtype(*request.param)
13341334

13351335

13361336
@pytest.fixture(

0 commit comments

Comments
 (0)