summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-06-08 15:28:18 -0600
committerTom Rini <[email protected]>2026-06-08 15:28:18 -0600
commite91911169bc737ee4a79963a1cba8db2aab7c1c0 (patch)
tree77bdc64834398b00a211c1ceedfb87e39a1631b0 /test
parent5d4d6e331d3f056ecc7ab11b72098a3cf4fdb099 (diff)
parent1296a428c67cf103eca482d4a63349661c1b799f (diff)
Merge tag 'v2026.07-rc4' into next
Prepare v2026.07-rc4
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/fs_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/fs_helper.py b/test/py/tests/fs_helper.py
index ee779474ce6..e3824b2c1fd 100644
--- a/test/py/tests/fs_helper.py
+++ b/test/py/tests/fs_helper.py
@@ -87,7 +87,7 @@ class FsHelper:
"""Remove created image"""
if self.tmpdir:
self.tmpdir.cleanup()
- if self._do_cleanup:
+ if self._do_cleanup and self.fs_img:
os.remove(self.fs_img)
def __enter__(self):