Re: [PATCH v2] Kernel selftests: TPM2: upgrade TPM2 tests from Python 2 to Python 3

From: Pengfei Xu
Date: Thu Jun 25 2020 - 11:45:32 EST


On 2020-06-25 at 02:14:57 +0300, Jarkko Sakkinen wrote:
> On Tue, Jun 23, 2020 at 07:41:55PM +0800, Pengfei Xu wrote:
> > I tried to use bytes(parm, encoding='UTF-8') way, it met the situation
> > that sometimes parm is string, sometimes parm is bytes.
>
> We need to do right things right, i.e. you should fix in the call site,
> not in the implementation.

Ok, I agree, I will have a try. :)
Thanks!

>
> /Jarkko