mirror of https://github.com/python/cpython
Fix a missing encoding argument when opening a text file in some of iobench's subtests.
(found by Georg)
This commit is contained in:
commit
760531a494
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue