Function rename

This commit is contained in:
wiredfool 2015-06-16 13:35:34 -07:00
parent 02ca00d493
commit 1086ba9e6e
2 changed files with 3 additions and 3 deletions

View File

@ -233,7 +233,7 @@ def netpbm_available():
def imagemagick_available():
return IMCONVERT and command_succeeds([IMCONVERT, '-version'])
def onAppveyor():
def on_appveyor():
return 'APPVEYOR' in os.environ
if sys.platform == 'win32':

View File

@ -7,12 +7,12 @@ try:
class TestImageGrab(PillowTestCase):
@unittest.skipIf(onAppveyor(), "Test fails on appveyor")
@unittest.skipIf(on_appveyor(), "Test fails on appveyor")
def test_grab(self):
im = ImageGrab.grab()
self.assert_image(im, im.mode, im.size)
@unittest.skipIf(onAppveyor(), "Test fails on appveyor")
@unittest.skipIf(on_appveyor(), "Test fails on appveyor")
def test_grab2(self):
im = ImageGrab.grab()
self.assert_image(im, im.mode, im.size)