# HG changeset patch # User Paul Boddie # Date 1559251646 -7200 # Node ID 611261d1729c937712b60f3907cb5c571b98c90b # Parent dfcf17d505027b6adf925daa50d276cd962a24df Actually read the input file with any explicit encoding. diff -r dfcf17d50502 -r 611261d1729c tests/test_parser.py --- a/tests/test_parser.py Tue May 21 00:02:58 2019 +0200 +++ b/tests/test_parser.py Thu May 30 23:27:26 2019 +0200 @@ -260,7 +260,7 @@ # Read and parse the input. - s = input.readfile(text_filename, encoding) + s = input.readfile(filename, encoding) p = make_parser(metadata) d = parse(s, p)