mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Added test
This commit is contained in:
		
							parent
							
								
									2d9f091a30
								
							
						
					
					
						commit
						60902efeb0
					
				|  | @ -28,6 +28,10 @@ class TestImageQuantize(PillowTestCase): | |||
|         im.quantize() | ||||
|         self.assertRaises(Exception, lambda: im.quantize(method=0)) | ||||
| 
 | ||||
|     def test_quantize(self): | ||||
|         im = Image.open('Tests/images/caption_6_33_22.png') | ||||
|         im.convert('RGB').quantize().convert('RGB') | ||||
| 
 | ||||
| 
 | ||||
| if __name__ == '__main__': | ||||
|     unittest.main() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user