mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-01 00:17:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			223 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			223 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import annotations
 | |
| 
 | |
| from .helper import hopper
 | |
| 
 | |
| 
 | |
| def test_sanity() -> None:
 | |
|     im = hopper()
 | |
|     type_repr = repr(type(im.getim()))
 | |
| 
 | |
|     assert "PyCapsule" in type_repr
 | |
|     assert isinstance(im.im.id, int)
 |