diff options
Diffstat (limited to 'test/py/tests/test_fit.py')
-rwxr-xr-x | test/py/tests/test_fit.py | 2 |
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(): |