cpython/Lib/test/test_tokenize.py

13 lines
242 B
Python
Raw Normal View History

from test.test_support import verbose, findfile
1997-10-27 18:15:06 -04:00
import tokenize, os, sys
if verbose:
print 'starting...'
f = file(findfile('tokenize_tests' + os.extsep + 'txt'))
tokenize.tokenize(f.readline)
f.close()
1997-10-27 18:15:06 -04:00
if verbose:
print 'finished'