#NEWLINE# def test_firwin2( ) : #NEWLINE# #INDENT# 'Test firwin2 backport\n    ' #NEWLINE# taps1 = mne_firwin2 ( 150 , [ 0.0 , 0.5 , 1.0 ] , [ 1.0 , 1.0 , 0.0 ] ) #NEWLINE# taps2 = signal . firwin2 ( 150 , [ 0.0 , 0.5 , 1.0 ] , [ 1.0 , 1.0 , 0.0 ] ) #NEWLINE# assert_array_equal ( taps1 , taps2 )