home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / Python / Lib / Python1.5 / test / test_tokenize.py < prev    next >
Encoding:
Python Source  |  1998-04-23  |  215 b   |  11 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.py'))
  7. tokenize.tokenize(file.readline)
  8. if verbose:
  9.     print 'finished'
  10.  
  11.