[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6882322-c4c3-97c2-2419-a85ac4caf80d@linux.ibm.com>
Date: Tue, 20 Sep 2022 09:14:54 -0400
From: Stefan Berger <stefanb@...ux.ibm.com>
To: Jarkko Sakkinen <jarkko@...nel.org>,
Stefan Berger <stefanb@...ux.vnet.ibm.com>
Cc: linux-integrity@...r.kernel.org, peterhuewe@....de,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
skhan@...uxfoundation.org, Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH] selftests: tpm2: Implement class desstructor to close
file descriptor
On 9/20/22 00:31, Jarkko Sakkinen wrote:
>>
>> test_flush_context (tpm2_tests.SpaceTest) ... \
>> /usr/lib64/python3.6/unittest/case.py:605: ResourceWarning: \
>> unclosed file <_io.FileIO name='/dev/tpmrm0' mode='rb+' closefd=True>
>
> I don't recall seeing this. Does this happen on every test case?
No, only on that one test case.
Stefan
Powered by blists - more mailing lists