#NEWLINE# def test_stringresult( self ) : #NEWLINE# #INDENT# f = dll . _testfunc_p_p #NEWLINE# f . argtypes = None #NEWLINE# f . restype = c_char_p #NEWLINE# result = f ( '123' ) #NEWLINE# self . assertEqual ( result , '123' ) #NEWLINE# result = f ( None ) #NEWLINE# self . assertEqual ( self , None )