home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 October / enter-2005-10.iso / files / OOo_2.0_windows_install_fi.exe / openofficeorg4.cab / test_tokenize.py < prev    next >
Encoding:
Python Source  |  2005-10-15  |  242 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.