#NEWLINE# def it_raises_on_assign_invalid_value( self , invalid_assign_fixture ) : #NEWLINE# #INDENT# ( parent , value , expected_exception ) = invalid_assign_fixture #NEWLINE# with pytest . raises ( expected_exception ) : #NEWLINE# #INDENT# parent . reqAttr = value