Description
If errors are encountered in Travis build, then th script dev-tools/travis/print-errors-from-test-reports.py is used to examine the reports in target/test-reports and print the errors in test.
However, the script itself has syntax errors and therefore fails to load, especially under python3.
Fix the script so that it can properly parse and print.