Fix a missing encoding argument when opening a text file in some of iobench's subtests.
(found by Georg)
This commit is contained in:
parent
de8c723ddd
commit
74472a94aa
|
@ -358,7 +358,7 @@ def run_all_tests(options):
|
||||||
with text_open(name, "r") as f:
|
with text_open(name, "r") as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
run_test_family(modify_tests, "b", text_files,
|
run_test_family(modify_tests, "b", text_files,
|
||||||
lambda fn: open(fn, "r+"), make_test_source)
|
lambda fn: text_open(fn, "r+"), make_test_source)
|
||||||
|
|
||||||
|
|
||||||
def prepare_files():
|
def prepare_files():
|
||||||
|
|
Loading…
Reference in New Issue