@@ -140,6 +140,7 @@ class BaseArithmeticOpsTests(BaseOpsUtil):
140140 series_array_exc : type [Exception ] | None = TypeError
141141 divmod_exc : type [Exception ] | None = TypeError
142142
143+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" , strict = False )
143144 def test_arith_series_with_scalar (self , data , all_arithmetic_operators ):
144145 # series & scalar
145146 if all_arithmetic_operators == "__rmod__" and is_string_dtype (data .dtype ):
@@ -149,6 +150,7 @@ def test_arith_series_with_scalar(self, data, all_arithmetic_operators):
149150 ser = pd .Series (data )
150151 self .check_opname (ser , op_name , ser .iloc [0 ])
151152
153+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" , strict = False )
152154 def test_arith_frame_with_scalar (self , data , all_arithmetic_operators ):
153155 # frame & scalar
154156 if all_arithmetic_operators == "__rmod__" and is_string_dtype (data .dtype ):
@@ -158,12 +160,14 @@ def test_arith_frame_with_scalar(self, data, all_arithmetic_operators):
158160 df = pd .DataFrame ({"A" : data })
159161 self .check_opname (df , op_name , data [0 ])
160162
163+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" , strict = False )
161164 def test_arith_series_with_array (self , data , all_arithmetic_operators ):
162165 # ndarray & other series
163166 op_name = all_arithmetic_operators
164167 ser = pd .Series (data )
165168 self .check_opname (ser , op_name , pd .Series ([ser .iloc [0 ]] * len (ser )))
166169
170+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" , strict = False )
167171 def test_divmod (self , data ):
168172 ser = pd .Series (data )
169173 self ._check_divmod_op (ser , divmod , 1 )
@@ -179,6 +183,7 @@ def test_divmod_series_array(self, data, data_for_twos):
179183 other = pd .Series (other )
180184 self ._check_divmod_op (other , ops .rdivmod , ser )
181185
186+ @pytest .mark .xfail (using_string_dtype (), reason = "TODO(infer_string)" , strict = False )
182187 def test_add_series_with_extension_array (self , data ):
183188 # Check adding an ExtensionArray to a Series of the same dtype matches
184189 # the behavior of adding the arrays directly and then wrapping in a
0 commit comments