#NEWLINE# def test_nohead( self ) : #NEWLINE# #INDENT# fo = tempfile . mktemp ( ) #NEWLINE# with open ( fo , 'w' ) as f : #NEWLINE# #INDENT# f . write ( 'Hello;54;87\nWorld;42;86.5' ) #NEWLINE# #UNINDENT# s = Sniff ( fo ) #NEWLINE# self . assertEqual ( s . kwds ( ) , { #NEWLINE# #INDENT# 'comments' : '#' , #NEWLINE# 'delimiter' : ';' , #NEWLINE# 'skiprows' : 0 , #NEWLINE# 'dtype' : { #NEWLINE# #INDENT# 'names' : ( 'Column 1' , 'Column 2' , 'Column 3' ) , #NEWLINE# 'formats' : ( 'S5' , float , float ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } )