Skip to content

Commit e3fb8c0

Browse files
authored
update draw_boxes reference image in tests(#8052)
1 parent 1d6f787 commit e3fb8c0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
295 Bytes
Loading

test/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_draw_boxes():
105105
res = Image.fromarray(result.permute(1, 2, 0).contiguous().numpy())
106106
res.save(path)
107107

108-
if PILLOW_VERSION >= (8, 2):
108+
if PILLOW_VERSION >= (10, 1):
109109
# The reference image is only valid for new PIL versions
110110
expected = torch.as_tensor(np.array(Image.open(path))).permute(2, 0, 1)
111111
assert_equal(result, expected)

0 commit comments

Comments
 (0)