Use unique class names to match filenames

This commit is contained in:
hugovk 2014-07-19 20:21:18 +03:00
parent 64bf7d466f
commit 0c12058e37
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ from PIL import Image
im = lena().resize((128, 100))
class TestImageCrop(PillowTestCase):
class TestImageArray(PillowTestCase):
def test_toarray(self):
def test(mode):

View File

@ -14,7 +14,7 @@ MAXBLOCK = ImageFile.MAXBLOCK
SAFEBLOCK = ImageFile.SAFEBLOCK
class TestImagePutData(PillowTestCase):
class TestImageFile(PillowTestCase):
def test_parser(self):

View File

@ -3,7 +3,7 @@ from helper import unittest, PillowTestCase
try:
from PIL import ImageGrab
class TestImageCopy(PillowTestCase):
class TestImageGrab(PillowTestCase):
def test_grab(self):
im = ImageGrab.grab()
@ -14,7 +14,7 @@ try:
self.assert_image(im, im.mode, im.size)
except ImportError:
class TestImageCopy(PillowTestCase):
class TestImageGrab(PillowTestCase):
def test_skip(self):
self.skipTest("ImportError")

View File

@ -3,7 +3,7 @@ from helper import unittest, PillowTestCase
from PIL import Image
class TestSanity(PillowTestCase):
class TestLibImage(PillowTestCase):
def test_setmode(self):