Skip to content
Prev Previous commit
Next Next commit
no-infer fixup
  • Loading branch information
jbrockmendel committed Sep 30, 2025
commit b434c32126c246a35c4479c7337b4c1ec93a66b1
2 changes: 1 addition & 1 deletion pandas/tests/series/indexing/test_setitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def test_setitem_enlargement_object_none(self, nulls_fixture, using_infer_string

expected = Series(["a", "b", nulls_fixture], index=[0, 1, 3], dtype=dtype)
tm.assert_series_equal(ser, expected)
if using_infer_string:
if dtype == "str":
ser[3] is np.nan
else:
assert ser[3] is nulls_fixture
Expand Down
Loading