]> git.sur5r.net Git - u-boot/blobdiff - test/py/conftest.py
test/py: Make print statements python 3.x safe
[u-boot] / test / py / conftest.py
index 446d8cb6faf1e23eab5ac14b1d54037c588b2143..e591f5879dcb60ca26f0ecfd9555067bd162e18c 100644 (file)
@@ -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?