diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-09-14 14:34:43 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-07-10 14:50:50 -0600 |
commit | dffd56d1d270e4797e43272a6c9000b8b8aeaf29 (patch) | |
tree | bef4fb8c44874d9b2a8d5214a675f80fb8d63633 /test/py/conftest.py | |
parent | e3396ffd720877976141fa0b76a0b8ee9643d7d1 (diff) |
test/py: Make print statements python 3.x safe
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/conftest.py')
-rw-r--r-- | test/py/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py index 446d8cb6fa..e591f5879d 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -586,7 +586,7 @@ def pytest_runtest_protocol(item, nextitem): # is fixed, if this exception still exists, it will then be logged as # part of the test's stdout. import traceback - print 'Exception occurred while logging runtest status:' + print('Exception occurred while logging runtest status:') traceback.print_exc() # FIXME: Can we force a test failure here? |