Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: b7f4c2d03af4c7d3960df64b7ae4139520c9fdcf authored by cvs2svn on 30 March 2005, 03:01:43 UTC
This commit was manufactured by cvs2svn to create tag 'r241'.
Tip revision: b7f4c2d
test_tokenize.py
from test.test_support import verbose, findfile
import tokenize, os, sys

if verbose:
    print 'starting...'

f = file(findfile('tokenize_tests' + os.extsep + 'txt'))
tokenize.tokenize(f.readline)
f.close()

if verbose:
    print 'finished'
back to top