[U-Boot] [RFC v2 4/10] test/py: Automated conversion to Python 3