#NEWLINE# def test_name( self ) : #NEWLINE# #INDENT# '\n        The function decorated with run_in_reactor has the same name as the\n        original function.\n        ' #NEWLINE# c = EventLoop ( ( lambda : FakeReactor ( ) ) , ( lambda f , g : None ) ) #NEWLINE# @ c . run_in_reactor #NEWLINE# def some_name( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . assertEqual ( c . __name__ , 'some_name' )