class IsFailure ( asrt . ValueAssertion ) :
    def apply ( self ,
        put : unittest . TestCase ,
        value ,
        message_builder : asrt . MessageBuilder = asrt . MessageBuilder ( ) )
        put . assertIsInstance ( value , spe . ResultAndStderr )
        put . assertFalse ( value . result . is_success ,
            message_builder . apply ( "str" ) )

class IsFailure ( asrt . ValueAssertion ) :
    def apply ( self ,
        put : unittest . TestCase ,
        value ,
        message_builder : asrt . MessageBuilder = asrt . MessageBuilder ( ) ) :
        put . assertIsInstance ( value , spe . ResultAndStderr )
        put . assertFalse ( value . result . is_success ,
            message_builder . apply ( "str" ) )

次に示すpythonコードの誤りを修正しなさい。