#NEWLINE# @ contextmanager #NEWLINE# def mockInput( fn ) : #NEWLINE# #INDENT# original = __builtins__ [ 'raw_input' ] #NEWLINE# __builtins__ [ 'raw_input' ] = fn #NEWLINE# ( yield ) #NEWLINE# __builtins__ [ 'raw_input' ] = fn