Skip to content

Commit c402cb6

Browse files
committed
Fix not-using_infer_string test
1 parent f03ccec commit c402cb6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/tests/arrays/integer/test_arithmetic.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ def test_error_invalid_values(data, all_arithmetic_operators):
201201
]: # (data[~data.isna()] >= 0).all():
202202
res = ops(str_ser)
203203
expected = pd.Series(["foo" * x for x in data], index=s.index)
204-
expected = expected.fillna(np.nan)
205-
# TODO: doing this fillna to keep tests passing as we make
206-
# assert_almost_equal stricter, but the expected with pd.NA seems
207-
# more-correct than np.nan here.
208204
tm.assert_series_equal(res, expected)
209205
else:
210206
with tm.external_error_raised(TypeError):

0 commit comments

Comments
 (0)