#NEWLINE# def testGetSignatureAlgorithmFromSequenceWhenJunkSeq( self ) : #NEWLINE# #INDENT# 'Test _GetSignatureAlgorithmFromSequence().' #NEWLINE# alg = self . x . SIGNATURE_ALGORITHMS [ 0 ] #NEWLINE# seq = ( alg , '' , '' , '' ) #NEWLINE# self . assertRaises ( x509 . CertificateParseError , self . x . _GetSignatureAlgorithmFromSequence , seq )