Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
aed3b5b7
Commit
aed3b5b7
authored
Nov 14, 2016
by
Damien George
Browse files
cc3200/tools/smoke.py: Change readall() to read().
parent
c3d96d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
cc3200/tools/smoke.py
View file @
aed3b5b7
...
...
@@ -51,7 +51,7 @@ n_w = f.write(test_bytes)
print
(
n_w
==
len
(
test_bytes
))
f
.
close
()
f
=
open
(
'test.txt'
,
'r'
)
r
=
bytes
(
f
.
read
all
(),
'ascii'
)
r
=
bytes
(
f
.
read
(),
'ascii'
)
# check that we can write and read it correctly
print
(
r
==
test_bytes
)
f
.
close
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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