Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
760531a4
Commit
760531a4
authored
Oct 08, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Fix a missing encoding argument when opening a text file in some of iobench's subtests.
(found by Georg)
parents
3c0c5f29
74472a94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Tools/iobench/iobench.py
Tools/iobench/iobench.py
+1
-1
No files found.
Tools/iobench/iobench.py
View file @
760531a4
...
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment