Skip to content

Commit 99994aa

Browse files
committed
Revert some changes
1 parent a1000c5 commit 99994aa

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pandas/tests/frame/test_arithmetic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import numpy as np
1212
import pytest
1313

14+
from pandas._config import using_string_dtype
15+
1416
import pandas as pd
1517
from pandas import (
1618
DataFrame,
@@ -1540,6 +1542,7 @@ def test_comparisons(self, simple_frame, float_frame, func):
15401542
with pytest.raises(ValueError, match=msg):
15411543
func(simple_frame, simple_frame[:2])
15421544

1545+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
15431546
def test_strings_to_numbers_comparisons_raises(self, compare_operators_no_eq_ne):
15441547
# GH 11565
15451548
df = DataFrame(
@@ -2094,6 +2097,7 @@ def test_enum_column_equality():
20942097
tm.assert_series_equal(result, expected)
20952098

20962099

2100+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
20972101
def test_mixed_col_index_dtype():
20982102
# GH 47382
20992103
df1 = DataFrame(columns=list("abc"), data=1.0, index=[0])

pandas/tests/indexing/test_indexing.py

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

11+
from pandas._config import using_string_dtype
12+
1113
from pandas.errors import IndexingError
1214

1315
from pandas.core.dtypes.common import (
@@ -526,6 +528,7 @@ def test_string_slice_empty(self):
526528
with pytest.raises(KeyError, match="^0$"):
527529
df.loc["2011", 0]
528530

531+
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
529532
def test_astype_assignment(self, using_infer_string):
530533
# GH4312 (iloc)
531534
df_orig = DataFrame(

0 commit comments

Comments
 (0)