mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Fixes djpeg load test
* Test fails with `libjpeg-turbo` and `libjpeg-progs` on Ubuntu 16.04 * Epsilon reported is 4.18...
This commit is contained in:
		
							parent
							
								
									9174a4596c
								
							
						
					
					
						commit
						a4721d374f
					
				| 
						 | 
				
			
			@ -494,7 +494,7 @@ class TestFileJpeg(PillowTestCase):
 | 
			
		|||
    def test_load_djpeg(self):
 | 
			
		||||
        with Image.open(TEST_FILE) as img:
 | 
			
		||||
            img.load_djpeg()
 | 
			
		||||
            assert_image_similar(img, Image.open(TEST_FILE), 0)
 | 
			
		||||
            assert_image_similar(img, Image.open(TEST_FILE), 5)
 | 
			
		||||
 | 
			
		||||
    @unittest.skipUnless(cjpeg_available(), "cjpeg not available")
 | 
			
		||||
    def test_save_cjpeg(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user