Skip to content

Commit 628c6e5

Browse files
remove no longer necessary xfails
1 parent c68f4a4 commit 628c6e5

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

pandas/tests/arrays/categorical/test_constructors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,6 @@ def test_interval(self):
735735
tm.assert_numpy_array_equal(cat.codes, expected_codes)
736736
tm.assert_index_equal(cat.categories, idx)
737737

738-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
739738
def test_categorical_extension_array_nullable(self, nulls_fixture):
740739
# GH:
741740
arr = pd.arrays.StringArray._from_sequence(

pandas/tests/copy_view/test_array.py

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

4-
from pandas._config import using_string_dtype
5-
64
from pandas import (
75
DataFrame,
86
Series,
@@ -119,7 +117,6 @@ def test_dataframe_array_ea_dtypes():
119117
assert arr.flags.writeable is False
120118

121119

122-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
123120
def test_dataframe_array_string_dtype():
124121
df = DataFrame({"a": ["a", "b"]}, dtype="string")
125122
arr = np.asarray(df)

pandas/tests/copy_view/test_astype.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def test_astype_numpy_to_ea():
8484
assert np.shares_memory(get_array(ser), get_array(result))
8585

8686

87-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
8887
@pytest.mark.parametrize(
8988
"dtype, new_dtype", [("object", "string"), ("string", "object")]
9089
)
@@ -98,7 +97,6 @@ def test_astype_string_and_object(dtype, new_dtype):
9897
tm.assert_frame_equal(df, df_orig)
9998

10099

101-
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)")
102100
@pytest.mark.parametrize(
103101
"dtype, new_dtype", [("object", "string"), ("string", "object")]
104102
)

0 commit comments

Comments
 (0)