aboutsummaryrefslogtreecommitdiff
path: root/cc3200/tools
diff options
context:
space:
mode:
authorDamien George2016-11-14 23:31:08 +1100
committerDamien George2016-11-14 23:31:08 +1100
commitaed3b5b7baa379b991be8d15f5a3e39ba90967a4 (patch)
tree6cf1bd1984e554ba43a64a06432dac65ffb679ee /cc3200/tools
parentc3d96d387c461c25ca3298dfa73d2a4efb45f1e7 (diff)
cc3200/tools/smoke.py: Change readall() to read().
Diffstat (limited to 'cc3200/tools')
-rw-r--r--cc3200/tools/smoke.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/tools/smoke.py b/cc3200/tools/smoke.py
index 20a837787..3ade11cf8 100644
--- a/cc3200/tools/smoke.py
+++ b/cc3200/tools/smoke.py
@@ -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()