diff options
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 04baf8df3b..a5140945d4 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) |