test_tokenize.py 231 Bytes
Newer Older
1
from test.test_support import verbose, findfile
2 3 4 5
import tokenize, os, sys

if verbose:
    print 'starting...'
6
file = open(findfile('tokenize_tests'+os.extsep+'py'))
7 8 9
tokenize.tokenize(file.readline)
if verbose:
    print 'finished'