home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / test_tokenize.py < prev    next >
Text File  |  2003-12-30  |  242b  |  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.