From 61972f03eca4e9282cc715d37945d8a5874666a4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 13 Aug 2016 12:32:13 +1000 Subject: [PATCH] Fixed typos [ci skip] --- Tests/test_image_access.py | 2 +- Tests/test_image_array.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_image_access.py b/Tests/test_image_access.py index be7457bb7..52618d541 100644 --- a/Tests/test_image_access.py +++ b/Tests/test_image_access.py @@ -232,7 +232,7 @@ class TestCffi(AccessTest): # Do not save references to the image, only to the access object px = Image.new('L', (size, 1), 0).load() for i in range(size): - # pixels can contain garbarge if image is released + # pixels can contain garbage if image is released self.assertEqual(px[i, 0], 0) diff --git a/Tests/test_image_array.py b/Tests/test_image_array.py index 655fcc228..e17e6c2e5 100644 --- a/Tests/test_image_array.py +++ b/Tests/test_image_array.py @@ -28,7 +28,7 @@ class TestImageArray(PillowTestCase): def test(mode): i = im.convert(mode) a = i.__array_interface__ - a["strides"] = 1 # pretend it's non-contigous + a["strides"] = 1 # pretend it's non-contiguous i.__array_interface__ = a # patch in new version of attribute out = Image.fromarray(i) return out.mode, out.size, list(i.getdata()) == list(out.getdata())