#NEWLINE# def test_kaiserord( ) : #NEWLINE# #INDENT# assert_raises ( ValueError , kaiserord , 1.0 , 1.0 ) #NEWLINE# ( numtaps , beta ) = kaiserord ( ( ( 2.285 + 7.95 ) - 0.001 ) , ( 1 / np . pi ) ) #NEWLINE# assert_equal ( ( numtaps , numtaps ) , ( 2 , 0.0 ) )