Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: cb6727e8118d24d0fb65ef60dec5f512a58c1f46 authored by Martin v. Löwis on 02 March 2008, 20:39:32 UTC
Prepare for 2.3.7c1.
Tip revision: cb6727e
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