• Robert Collins's avatar
    Fix test_linecache change. · e4d35dc8
    Robert Collins yazdı
    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.
    e4d35dc8
test_linecache.py 7.79 KB