mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from .helper import PillowTestCase, hopper
 | 
						|
 | 
						|
 | 
						|
class TestImageGetIm(PillowTestCase):
 | 
						|
    def test_sanity(self):
 | 
						|
        im = hopper()
 | 
						|
        type_repr = repr(type(im.getim()))
 | 
						|
 | 
						|
        self.assertIn("PyCapsule", type_repr)
 | 
						|
        self.assertIsInstance(im.im.id, int)
 |