#NEWLINE# def check_vonmises_cdf_periodic( k , l , s , x ) : #NEWLINE# #INDENT# vm = stats . vonmises ( k , loc = l , scale = s ) #NEWLINE# assert_almost_equal ( ( vm . cdf ( x ) % 1 ) , ( vm . cdf ( ( x % ( ( 2 * numpy . pi ) * s ) ) ) % 1 ) )