mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +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)) | ||||
| 
 | ||||
| 
 | ||||
| class TestImageCrop(PillowTestCase): | ||||
| class TestImageArray(PillowTestCase): | ||||
| 
 | ||||
|     def test_toarray(self): | ||||
|         def test(mode): | ||||
|  |  | |||
|  | @ -14,7 +14,7 @@ MAXBLOCK = ImageFile.MAXBLOCK | |||
| SAFEBLOCK = ImageFile.SAFEBLOCK | ||||
| 
 | ||||
| 
 | ||||
| class TestImagePutData(PillowTestCase): | ||||
| class TestImageFile(PillowTestCase): | ||||
| 
 | ||||
|     def test_parser(self): | ||||
| 
 | ||||
|  |  | |||
|  | @ -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") | ||||
| 
 | ||||
|  |  | |||
|  | @ -3,7 +3,7 @@ from helper import unittest, PillowTestCase | |||
| from PIL import Image | ||||
| 
 | ||||
| 
 | ||||
| class TestSanity(PillowTestCase): | ||||
| class TestLibImage(PillowTestCase): | ||||
| 
 | ||||
|     def test_setmode(self): | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user