mirror of
https://github.com/python/cpython.git
synced 2024-11-30 05:15:14 +08:00
11 lines
215 B
Python
11 lines
215 B
Python
from test_support import verbose, findfile
|
|
import tokenize, os, sys
|
|
|
|
if verbose:
|
|
print 'starting...'
|
|
file = open(findfile('tokenize_tests.py'))
|
|
tokenize.tokenize(file.readline)
|
|
if verbose:
|
|
print 'finished'
|
|
|