mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 10:14:47 +03:00
work around bug in PyAccess module and PyAccess tests
This commit is contained in:
parent
a1a9d7e760
commit
f7d6e135fd
|
@ -285,7 +285,8 @@ class CoreResampleCoefficientsTest(PillowTestCase):
|
|||
draw = ImageDraw.Draw(i)
|
||||
draw.rectangle((0, 0, i.size[0] // 2 - 1, 0), test_color)
|
||||
|
||||
px = i.resize((5, i.size[1]), Image.BICUBIC).load()
|
||||
i = i.resize((5, i.size[1]), Image.BICUBIC)
|
||||
px = i.load()
|
||||
if px[2, 0] != test_color // 2:
|
||||
self.assertEqual(test_color // 2, px[2, 0])
|
||||
# print '\r>', size, test_color // 2, px[2, 0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user