Skip to content
Snippets Groups Projects
Commit aed3b5b7 authored by Damien George's avatar Damien George
Browse files

cc3200/tools/smoke.py: Change readall() to read().

parent c3d96d38
No related branches found
No related tags found
No related merge requests found
......@@ -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.readall(), 'ascii')
r = bytes(f.read(), 'ascii')
# check that we can write and read it correctly
print(r == test_bytes)
f.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment