Skip to content

Commit b523cc5

Browse files
committed
Fix pixel order
1 parent b2dbf92 commit b523cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mock_vws/fixtures/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _image_file(
4040
green = random.randint(0, 255)
4141
blue = random.randint(0, 255)
4242
if color_space != 'L':
43-
pixels[i, j] = (red, green, blue)
43+
pixels[j, i] = (red, green, blue)
4444
image.save(image_buffer, file_format)
4545
image_buffer.seek(0)
4646
return image_buffer

0 commit comments

Comments
 (0)