home *** CD-ROM | disk | FTP | other *** search
/ H4CK3R 14 / hacker14.iso / programacao / pythonwin / python.exe / TEST_TOKENIZE.PY < prev    next >
Encoding:
Python Source  |  2003-05-12  |  254 b   |  13 lines

  1. from test.test_support import verbose, findfile
  2. import tokenize, os, sys
  3.  
  4. if verbose:
  5.     print 'starting...'
  6.  
  7. f = file(findfile('tokenize_tests' + os.extsep + 'txt'))
  8. tokenize.tokenize(f.readline)
  9. f.close()
  10.  
  11. if verbose:
  12.     print 'finished'
  13.