Skip to content

Commit d413fc6

Browse files
skip str.get_dummies test for now
1 parent b0276b2 commit d413fc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/strings/test_get_dummies.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import numpy as np
22
import pytest
33

4+
from pandas._config import using_string_dtype
5+
46
import pandas.util._test_decorators as td
57

68
from pandas import (
@@ -96,6 +98,7 @@ def test_get_dummies_with_pyarrow_dtype(any_string_dtype, dtype):
9698

9799

98100
# GH#47872
101+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
99102
def test_get_dummies_with_str_dtype(any_string_dtype):
100103
s = Series(["a|b", "a|c", np.nan], dtype=any_string_dtype)
101104
result = s.str.get_dummies("|", dtype=str)

0 commit comments

Comments
 (0)