[U-Boot] [PATCHv3 05/13] test/py: Automated conversion to Python 3