Skip to content

Commit bb1eb49

Browse files
mangelajoclaude
andcommitted
Fix py.path.local stat call in uboot fixture — use .size() not .stat().st_size
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent af71296 commit bb1eb49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/packages/jumpstarter-driver-uboot/jumpstarter_driver_uboot

python/packages/jumpstarter-driver-uboot/jumpstarter_driver_uboot/driver_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def uboot_image(tmpdir_factory):
4949
fd = rpm.extractfile("./usr/share/uboot/qemu_arm64/u-boot.bin")
5050
with bin_path.open("wb") as f:
5151
f.write(fd.read())
52-
print(f"Extracted u-boot.bin ({bin_path.stat().st_size} bytes)")
52+
print(f"Extracted u-boot.bin ({bin_path.size()} bytes)")
5353

5454
yield bin_path
5555

0 commit comments

Comments
 (0)