#NEWLINE# def test_decrypt_invalid_version( self ) : #NEWLINE# #INDENT# regex = 'Unimplemented version' #NEWLINE# self . assertRaisesRegexp ( TripleSecError , self , ( lambda : triplesec . decrypt ( unhex ( b'1c94d7de01200000abcdef' ) , b'xxx' ) ) )