#NEWLINE# def test_search_sorted_datetime64_scalar( self ) : #NEWLINE# #INDENT# s = Series ( pd . date_range ( '20120101' , periods = 10 , freq = '2D' ) ) #NEWLINE# v = pd . Timestamp ( '20120102' ) #NEWLINE# r = s . searchsorted ( v ) #NEWLINE# e = 1 #NEWLINE# tm . assert_equal ( r , r )