t/fiotestlib: use 'with' for opening files
authorVincent Fu <vincent.fu@samsung.com>
Mon, 5 Jun 2023 17:59:55 +0000 (17:59 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 8 Jun 2023 18:39:07 +0000 (14:39 -0400)
commit1cf0ba9d3ca7918e54860e01d13f1899a02ce758
treec98f4ea8133df0daaefde032b859dd4d264a5941
parent68b3a741b1ba68fd37afd5ad3e75352fc4901e2f
t/fiotestlib: use 'with' for opening files

Use with when opening files to relieve us of the need to explicitly
close the files.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/fiotestlib.py