File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,6 @@ def test_fillna_consistency(self):
157
157
expected = Series ([Timestamp ("20130101" ), "foo" ])
158
158
tm .assert_series_equal (result , expected )
159
159
160
- # assignment
161
- ser2 = ser .copy ()
162
- with tm .assert_produces_warning (FutureWarning , match = "incompatible dtype" ):
163
- ser2 [1 ] = "foo"
164
- tm .assert_series_equal (ser2 , expected )
165
-
166
160
def test_timedelta_fillna (self , frame_or_series , unit ):
167
161
# GH#3371
168
162
ser = Series (
Original file line number Diff line number Diff line change @@ -36,15 +36,6 @@ def test_timedelta64_nan(self):
36
36
td1 [0 ] = td [0 ]
37
37
assert not isna (td1 [0 ])
38
38
39
- # GH#16674 iNaT is treated as an integer when given by the user
40
- with tm .assert_produces_warning (FutureWarning , match = "incompatible dtype" ):
41
- td1 [1 ] = iNaT
42
- assert not isna (td1 [1 ])
43
- assert td1 .dtype == np .object_
44
- assert td1 [1 ] == iNaT
45
- td1 [1 ] = td [1 ]
46
- assert not isna (td1 [1 ])
47
-
48
39
td1 [2 ] = NaT
49
40
assert isna (td1 [2 ])
50
41
assert td1 [2 ]._value == iNaT
You can’t perform that action at this time.
0 commit comments