Skip to content

Commit 6892f83

Browse files
remove xfails
1 parent cfb73f5 commit 6892f83

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

pandas/tests/frame/indexing/test_indexing.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
import numpy as np
1010
import pytest
1111

12-
from pandas._config import using_string_dtype
13-
1412
from pandas._libs import iNaT
1513
from pandas.errors import InvalidIndexError
1614

@@ -503,7 +501,6 @@ def test_setitem_ambig(self, using_infer_string):
503501
else:
504502
assert dm[2].dtype == np.object_
505503

506-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
507504
def test_setitem_None(self, float_frame):
508505
# GH #766
509506
float_frame[None] = float_frame["A"]

pandas/tests/reshape/test_pivot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,9 +2698,6 @@ def test_pivot_index_is_none(self):
26982698
expected = DataFrame(3, index=[1], columns=Index([2], name="b"))
26992699
tm.assert_frame_equal(result, expected)
27002700

2701-
@pytest.mark.xfail(
2702-
using_string_dtype(), reason="TODO(infer_string) None is cast to NaN"
2703-
)
27042701
def test_pivot_values_is_none(self):
27052702
# GH#48293
27062703
df = DataFrame({None: [1], "b": 2, "c": 3})

0 commit comments

Comments
 (0)