Re: [PATCH 3/4] tests/functional: Avoid unnecessary removal of scratch files
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | org.nongnu.qemu-riscv,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On 24/8/26 07:56, Joel Stanley wrote: > Files written by uncompress() and archive_extract() are placed in a > temporary directory that is cleaned up when the test exits, making > os.remove() redundant. Drop it and the unused os import. > > Suggested-by: Philippe Mathieu-Daudé <[email protected]> > Signed-off-by: Joel Stanley <[email protected]> > --- > tests/functional/arm/test_bpim2u.py | 11 ----------- > tests/functional/arm/test_orangepi.py | 9 --------- > tests/functional/riscv64/test_sifive_u.py | 4 ---- > 3 files changed, 24 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <[email protected]>