#NEWLINE# def test_inspect_wrapped( self ) : #NEWLINE# #INDENT# def test( a , _b , c = 5 , d = inject ( 'x' ) , e = inject ( 'x2' , foo = 'foo' , bar = 'baz' ) , * f , **g ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# @ functools . wraps ( test ) #NEWLINE# def wrapped( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# if ( not hasattr ( wrapped , '__wrapped__' ) ) : #NEWLINE# #INDENT# wrapped . __wrapped__ = test #NEWLINE# #UNINDENT# self . _common_checks ( Injector ( ) . inspect ( wrapped ) )