mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Use unique class names to match filenames
This commit is contained in:
parent
64bf7d466f
commit
0c12058e37
|
@ -5,7 +5,7 @@ from PIL import Image
|
||||||
im = lena().resize((128, 100))
|
im = lena().resize((128, 100))
|
||||||
|
|
||||||
|
|
||||||
class TestImageCrop(PillowTestCase):
|
class TestImageArray(PillowTestCase):
|
||||||
|
|
||||||
def test_toarray(self):
|
def test_toarray(self):
|
||||||
def test(mode):
|
def test(mode):
|
||||||
|
|
|
@ -14,7 +14,7 @@ MAXBLOCK = ImageFile.MAXBLOCK
|
||||||
SAFEBLOCK = ImageFile.SAFEBLOCK
|
SAFEBLOCK = ImageFile.SAFEBLOCK
|
||||||
|
|
||||||
|
|
||||||
class TestImagePutData(PillowTestCase):
|
class TestImageFile(PillowTestCase):
|
||||||
|
|
||||||
def test_parser(self):
|
def test_parser(self):
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from helper import unittest, PillowTestCase
|
||||||
try:
|
try:
|
||||||
from PIL import ImageGrab
|
from PIL import ImageGrab
|
||||||
|
|
||||||
class TestImageCopy(PillowTestCase):
|
class TestImageGrab(PillowTestCase):
|
||||||
|
|
||||||
def test_grab(self):
|
def test_grab(self):
|
||||||
im = ImageGrab.grab()
|
im = ImageGrab.grab()
|
||||||
|
@ -14,7 +14,7 @@ try:
|
||||||
self.assert_image(im, im.mode, im.size)
|
self.assert_image(im, im.mode, im.size)
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
class TestImageCopy(PillowTestCase):
|
class TestImageGrab(PillowTestCase):
|
||||||
def test_skip(self):
|
def test_skip(self):
|
||||||
self.skipTest("ImportError")
|
self.skipTest("ImportError")
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from helper import unittest, PillowTestCase
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
|
|
||||||
class TestSanity(PillowTestCase):
|
class TestLibImage(PillowTestCase):
|
||||||
|
|
||||||
def test_setmode(self):
|
def test_setmode(self):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user