repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clarify portability and main program.
[python/dscho.git]
/
Lib
/
test
/
test_tokenize.py
blob
cd97e9acaf80a7ae5c4fbf8b2b56775c721c662d
1
from
test_support
import
verbose
,
findfile
2
import
tokenize
,
os
,
sys
3
4
if
verbose
:
5
print
'starting...'
6
file
=
open
(
findfile
(
'tokenize_tests.py'
))
7
tokenize
.
tokenize
(
file
.
readline
)
8
if
verbose
:
9
print
'finished'
10