<s> class AppTestToken : <EOL> def setup_class ( cls ) : <EOL> cls . w_token = cls . space . appexec ( [ ] , """<STR_LIT>""" ) <EOL> def test_isterminal ( self ) : <EOL> assert self . token . ISTERMINAL ( self . token . ENDMARKER ) <EOL> assert not self . token . ISTERMINAL ( <NUM_LIT> ) <EOL> def test_isnonterminal ( self ) : <EOL> assert self . token . ISNONTERMINAL ( <NUM_LIT> ) <EOL> assert not self . token . ISNONTERMINAL ( self . token . NAME ) <EOL> def test_iseof ( self ) : <EOL> assert self . token . ISEOF ( self . token . ENDMARKER ) <EOL> assert not self . token . ISEOF ( self . token . NAME ) </s>
