diff options
author | Robert Collins <rbtcollins@hp.com> | 2015-08-20 10:48:46 +1200 |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2015-08-20 10:48:46 +1200 |
commit | e4d35dc8b6fb3c071d85e2d8830566876288c180 (patch) | |
tree | c313b3e57ef51885e238f3fed931e6dac8255eb7 /Python/ast.c | |
parent | dc7756599025ea28f917393e34bd0c922cc1166e (diff) | |
download | cpython-git-e4d35dc8b6fb3c071d85e2d8830566876288c180.tar.gz |
Fix test_linecache change.
In non-UTF8 locales open() will have the wrong encoding for the test
data. We need to open the file via tokenize, to get a detected
encoding instead.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions