Skip to content

Commit cf40333

Browse files
update
1 parent 36afd11 commit cf40333

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/copy_view/test_astype.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
from pandas.compat import HAS_PYARROW
99
from pandas.compat.pyarrow import pa_version_under12p0
10-
import pandas.util._test_decorators as td
1110

1211
from pandas import (
1312
DataFrame,
@@ -112,6 +111,7 @@ def test_astype_string_and_object_update_original(dtype, new_dtype):
112111

113112

114113
def test_astype_str_copy_on_pickle_roundrip():
114+
# TODO(infer_string) this test can be removed after 3.0 (once str is the default)
115115
# https://github.com/pandas-dev/pandas/issues/54654
116116
# ensure_string_array may alter array inplace
117117
base = Series(np.array([(1, 2), None, 1], dtype="object"))
@@ -129,7 +129,6 @@ def test_astype_string_copy_on_pickle_roundrip(any_string_dtype):
129129
tm.assert_series_equal(base, base_copy)
130130

131131

132-
@td.skip_if_no("pyarrow")
133132
def test_astype_string_read_only_on_pickle_roundrip(any_string_dtype):
134133
# https://github.com/pandas-dev/pandas/issues/54654
135134
# ensure_string_array may alter read-only array inplace

0 commit comments

Comments
 (0)