diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-11 09:40:38 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-11 09:40:38 -0400 |
commit | 1703fbefd9183fffd76f4744a73f5ca9daef6313 (patch) | |
tree | d1155db77dc38ebb02aa0ee66f4559032c092d74 /test/py/test.py | |
parent | 421be6fca5cbe0d9dd3a10467529eed53528c258 (diff) | |
parent | 8793631ec13ee9e6c7189a7bdca38dde7b4390a8 (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test/py/test.py')
-rwxr-xr-x | test/py/test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/py/test.py b/test/py/test.py index 04baf8df3ba..a5140945d4b 100755 --- a/test/py/test.py +++ b/test/py/test.py @@ -7,6 +7,8 @@ # Wrapper script to invoke pytest with the directory name that contains the # U-Boot tests. +from __future__ import print_function + import os import os.path import sys @@ -26,7 +28,7 @@ except: traceback.print_exc() # Hint to the user that they likely simply haven't installed the required # dependencies. - print >>sys.stderr, ''' + print(''' exec(py.test) failed; perhaps you are missing some dependencies? -See test/py/README.md for the list.''' +See test/py/README.md for the list.''', file=sys.stderr) sys.exit(1) |