#NEWLINE# def test_skipws( ) : #NEWLINE# #INDENT# '\n    skipws will skip whitespaces.\n    ' #NEWLINE# def grammar( ) : #NEWLINE# #INDENT# return ( 'one' , 'two' , 'three' ) #NEWLINE# #UNINDENT# parser = ParserPython ( grammar ) #NEWLINE# parser . parse ( 'one two three' ) #NEWLINE# parser = ParserPython ( grammar , skipws = False ) #NEWLINE# with pytest . raises ( NoMatch ) : #NEWLINE# #INDENT# parser . parse ( 'one two three' )