Commit 74472a94 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix a missing encoding argument when opening a text file in some of iobench's subtests.

(found by Georg)
parent de8c723d
......@@ -358,7 +358,7 @@ def run_all_tests(options):
with text_open(name, "r") as f:
return f.read()
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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment