2019-05-30 | Paul Boddie | raw files shortlog changelog graph | Actually read the input file with any explicit encoding. | |
tests/test_parser.py (file) |
1.1 --- a/tests/test_parser.py Tue May 21 00:02:58 2019 +0200 1.2 +++ b/tests/test_parser.py Thu May 30 23:27:26 2019 +0200 1.3 @@ -260,7 +260,7 @@ 1.4 1.5 # Read and parse the input. 1.6 1.7 - s = input.readfile(text_filename, encoding) 1.8 + s = input.readfile(filename, encoding) 1.9 p = make_parser(metadata) 1.10 d = parse(s, p) 1.11