@@ -193,7 +193,7 @@ def test_update_dt_column_with_NaT_create_column(self):
193
193
(1.0 , 2.0 , float ),
194
194
(1.0 + 1j , 2.0 + 2j , complex ),
195
195
(np .uint64 (1 ), np .uint (2 ), np .dtype ("ubyte" )),
196
- (np .uint64 (1 ), np .uint (2 ), np .dtype ("int_ " )),
196
+ (np .uint64 (1 ), np .uint (2 ), np .dtype ("intc " )),
197
197
("a" , "b" , pd .StringDtype ()),
198
198
(
199
199
pd .to_timedelta ("1 ms" ),
@@ -224,8 +224,8 @@ def test_update_raises_on_duplicate_argument_index(self):
224
224
225
225
def test_update_on_duplicate_frame_unique_argument_index (self ):
226
226
# GH#55509
227
- df = DataFrame ({"a" : [1 , 1 , 1 ]}, index = [1 , 1 , 2 ], dtype = np .dtype ("int_ " ))
228
- other = DataFrame ({"a" : [2 , 3 ]}, index = [1 , 2 ], dtype = np .dtype ("int_ " ))
229
- expected = DataFrame ({"a" : [2 , 2 , 3 ]}, index = [1 , 1 , 2 ], dtype = np .dtype ("int_ " ))
227
+ df = DataFrame ({"a" : [1 , 1 , 1 ]}, index = [1 , 1 , 2 ], dtype = np .dtype ("intc " ))
228
+ other = DataFrame ({"a" : [2 , 3 ]}, index = [1 , 2 ], dtype = np .dtype ("intc " ))
229
+ expected = DataFrame ({"a" : [2 , 2 , 3 ]}, index = [1 , 1 , 2 ], dtype = np .dtype ("intc " ))
230
230
df .update (other )
231
231
tm .assert_frame_equal (df , expected )
0 commit comments