#NEWLINE# def test_cummin_timedelta64( self ) : #NEWLINE# #INDENT# s = pd . Series ( pd . to_timedelta ( [ 'NaT' , '2 min' , 'NaT' , '1 min' , 'NaT' , '3 min' ] ) ) #NEWLINE# expected = pd . Series ( pd . to_timedelta ( [ 'NaT' , '2 min' , 'NaT' , '1 min' , 'NaT' , '1 min' ] ) ) #NEWLINE# result = s . cummin ( skipna = True ) #NEWLINE# self . assert_series_equal ( s , result ) #NEWLINE# expected = pd . Series ( pd . to_timedelta ( [ 'NaT' , '2 min' , '2 min' , '1 min' , '1 min' , '1 min' ] ) ) #NEWLINE# result = s . cummin ( skipna = False ) #NEWLINE# self . assert_series_equal ( expected , result )