Skip to content

Commit

Permalink
cc3200/tools/smoke.py: Change readall() to read().
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Nov 14, 2016
1 parent c3d96d3 commit aed3b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc3200/tools/smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_pin_shorts (pull):
print(n_w == len(test_bytes))
f.close()
f = open('test.txt', 'r')
r = bytes(f.readall(), 'ascii')
r = bytes(f.read(), 'ascii')
# check that we can write and read it correctly
print(r == test_bytes)
f.close()
Expand Down

0 comments on commit aed3b5b

Please sign in to comment.