summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py')
-rwxr-xr-xtest/py/tests/test_fit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py
index a0f9350411..34696e9767 100755
--- a/test/py/tests/test_fit.py
+++ b/test/py/tests/test_fit.py
@@ -143,7 +143,7 @@ def test_fit(u_boot_console):
Returns:
Contents of file as a string
"""
- with open(fname, 'r') as fd:
+ with open(fname, 'rb') as fd:
return fd.read()
def make_dtb():