#NEWLINE# def test_spectral_contrast_log( ) : #NEWLINE# #INDENT# ( y , sr ) = librosa . load ( __EXAMPLE_FILE ) #NEWLINE# contrast = librosa . feature . spectral_contrast ( y = y , sr = sr , linear = False ) #NEWLINE# assert ( not np . any ( ( contrast < 0 ) ) )