home *** CD-ROM | disk | FTP | other *** search
/ Freelog 33 / Freelog033.iso / Progr / Python-2.2.1.exe / TEST_TOKENIZE.PY < prev    next >
Encoding:
Python Source  |  2001-10-24  |  235 b   |  10 lines

  1. from test_support import verbose, findfile
  2. import tokenize, os, sys
  3.  
  4. if verbose:
  5.     print 'starting...'
  6. file = open(findfile('tokenize_tests'+os.extsep+'py'))
  7. tokenize.tokenize(file.readline)
  8. if verbose:
  9.     print 'finished'
  10.