@@ -409,7 +409,7 @@ def test_downcast(self):
409409 'int64' : [np .iinfo (np .int64 ).min , np .iinfo (np .int64 ).max ]
410410 }
411411
412- for dtype , min_max in integer_dtype_min_max .iteritems ():
412+ for dtype , min_max in integer_dtype_min_max .items ():
413413 series = pd .to_numeric (pd .Series (min_max ), downcast = 'integer' )
414414 tm .assert_equal (series .dtype , dtype )
415415
@@ -421,7 +421,7 @@ def test_downcast(self):
421421 # 'uint64': [np.iinfo(np.uint64).min, np.iinfo(np.uint64).max]
422422 }
423423
424- for dtype , min_max in unsigned_dtype_min_max .iteritems ():
424+ for dtype , min_max in unsigned_dtype_min_max .items ():
425425 series = pd .to_numeric (pd .Series (min_max ), downcast = 'unsigned' )
426426 tm .assert_equal (series .dtype , dtype )
427427
@@ -433,7 +433,7 @@ def test_downcast(self):
433433 'int64' : [np .iinfo (np .int32 ).min , np .iinfo (np .int32 ).max + 1 ],
434434 }
435435
436- for dtype , min_max in integer_dtype_min_max_plus .iteritems ():
436+ for dtype , min_max in integer_dtype_min_max_plus .items ():
437437 series = pd .to_numeric (pd .Series (min_max ), downcast = 'integer' )
438438 tm .assert_equal (series .dtype , dtype )
439439
@@ -443,7 +443,7 @@ def test_downcast(self):
443443 'int64' : [np .iinfo (np .int32 ).min - 1 , np .iinfo (np .int64 ).max ]
444444 }
445445
446- for dtype , min_max in integer_dtype_min_max_minus .iteritems ():
446+ for dtype , min_max in integer_dtype_min_max_minus .items ():
447447 series = pd .to_numeric (pd .Series (min_max ), downcast = 'integer' )
448448 tm .assert_equal (series .dtype , dtype )
449449
@@ -453,7 +453,7 @@ def test_downcast(self):
453453 # 'uint64': [np.iinfo(np.uint32).min, np.iinfo(np.uint32).max + 1],
454454 }
455455
456- for dtype , min_max in unsigned_dtype_min_max_plus .iteritems ():
456+ for dtype , min_max in unsigned_dtype_min_max_plus .items ():
457457 series = pd .to_numeric (pd .Series (min_max ), downcast = 'unsigned' )
458458 tm .assert_equal (series .dtype , dtype )
459459
0 commit comments