mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Merge pull request #6853 from radarhere/child_images
Relaxed child images check to allow for libjpeg
This commit is contained in:
		
						commit
						d2e77de070
					
				| 
						 | 
					@ -448,7 +448,7 @@ class TestFileJpeg:
 | 
				
			||||||
            ims = im.get_child_images()
 | 
					            ims = im.get_child_images()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        assert len(ims) == 1
 | 
					        assert len(ims) == 1
 | 
				
			||||||
        assert_image_equal_tofile(ims[0], "Tests/images/flower_thumbnail.png")
 | 
					        assert_image_similar_tofile(ims[0], "Tests/images/flower_thumbnail.png", 2.1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def test_mp(self):
 | 
					    def test_mp(self):
 | 
				
			||||||
        with Image.open("Tests/images/pil_sample_rgb.jpg") as im:
 | 
					        with Image.open("Tests/images/pil_sample_rgb.jpg") as im:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user