From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 1 Nov 2019 09:32:11 -0400 Subject: [U-Boot] [PATCHv3 06/13] test/py: Manual python3 fixes In-Reply-To: <20191024155928.28616-7-trini@konsulko.com> References: <20191023032010.27725-1-trini@konsulko.com> <20191024155928.28616-1-trini@konsulko.com> <20191024155928.28616-7-trini@konsulko.com> Message-ID: <20191101133211.GV11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 24, 2019 at 11:59:21AM -0400, Tom Rini wrote: > - Modern pytest is more visible in telling us about parameters that we > had not described, so describe a few more. > - ConfigParser.readfp(...) is now configparser.read_file(...) > - As part of the "strings vs bytes" conversions in Python 3, we use the > default encoding/decoding of utf-8 but in some places tell Python to > replace problematic conversions rather than throw a fatal error. > - Fix a typo noticed while doing the above ("tot he" -> "to the"). > - As suggested by Stephen, re-alphabetize the import list > - Per Heinrich, replace how we write contents in test_fit.py > > Reviewed-by: Simon Glass > Tested-by: Stephen Warren > Tested-by: Simon Glass [on sandbox] > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: