Skip to content

Commit f05650f

Browse files
committed
xfail for Categorical from sparse
1 parent ebed6ef commit f05650f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/arrays/categorical/test_constructors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ def test_constructor_string_and_tuples(self):
648648

649649
@pytest.mark.parametrize("sparse", [True, False])
650650
def test_from_dummies(self, sparse):
651+
if sparse:
652+
pytest.xfail("from sparse is not supported")
651653
# GH 8745
652654
raw = ["a", "a", "b", "c", "c", "a"]
653655
dummies = get_dummies(raw, sparse=sparse)

0 commit comments

Comments
 (0)