#NEWLINE# @ dec . skipif ( ( _ctypes_missing or _ctypes_multivariate_fail ) , msg = 'Compiled test functions not loaded' ) #NEWLINE# def test_threadsafety( self ) : #NEWLINE# #INDENT# def threadsafety( y ) : #NEWLINE# #INDENT# return ( y + quad ( self . lib . _multivariate_sin , 0 , 1 ) [ 0 ] ) #NEWLINE# #UNINDENT# assert_quad ( quad ( threadsafety , 0 , 1 ) , 0.9596976941318602 )