Re: [U-Boot] [PATCHv2 06/13] test/py: Manual python3 fixes

2019-10-23 Thread Simon Glass
On Tue, 22 Oct 2019 at 21:20, 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

Re: [U-Boot] [PATCHv2 06/13] test/py: Manual python3 fixes

2019-10-23 Thread Stephen Warren
On 10/23/19 1:01 PM, Tom Rini wrote: On Wed, Oct 23, 2019 at 12:50:12PM -0600, Stephen Warren wrote: On 10/22/19 9:20 PM, 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 confi

Re: [U-Boot] [PATCHv2 06/13] test/py: Manual python3 fixes

2019-10-23 Thread Tom Rini
On Wed, Oct 23, 2019 at 12:50:12PM -0600, Stephen Warren wrote: > On 10/22/19 9:20 PM, 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(...) > > -

Re: [U-Boot] [PATCHv2 06/13] test/py: Manual python3 fixes

2019-10-23 Thread Stephen Warren
On 10/22/19 9:20 PM, 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 defaul

[U-Boot] [PATCHv2 06/13] test/py: Manual python3 fixes

2019-10-22 Thread Tom Rini
- 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