]> granicus.if.org Git - python/commit
Make test_tokenize pass again:
authorGuido van Rossum <guido@python.org>
Sat, 4 Aug 2007 17:43:15 +0000 (17:43 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 4 Aug 2007 17:43:15 +0000 (17:43 +0000)
commitcfbbf48e3e60438036f18f0376d7deb226873a8f
tree623e8dc4d8f1b2bb1daec0df42bd115058e1ae62
parent1e2b760475e20c2c293c0a78a608012d7d70e3b4
Make test_tokenize pass again:
Add code to test_roundtrip() that figures out the encoding
from the first two lines of the file.
(We need to refactor this again to make it available to
all places that need this, e.g. linecache.py.)
Lib/test/test_tokenize.py