Skip to content

Commit a41f9cc

Browse files
akxhomm
andauthored
Update Tests/bench_cffi_access.py
Co-authored-by: Alexander Karpinsky <[email protected]>
1 parent ab4846a commit a41f9cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/bench_cffi_access.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def test_direct():
4545

4646
assert caccess[(0, 0)] == access[(0, 0)]
4747

48-
w, h = im.size
49-
print(f"Size: {w}x{h}")
48+
print(f"Size: {im.width}x{im.height}")
5049
timer(iterate_get, "PyAccess - get", im.size, access)
5150
timer(iterate_set, "PyAccess - set", im.size, access)
5251
timer(iterate_get, "C-api - get", im.size, caccess)

0 commit comments

Comments
 (0)