mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			248 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			248 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from helper import unittest, PillowTestCase, hopper
 | |
| 
 | |
| 
 | |
| class TestImageToBytes(PillowTestCase):
 | |
| 
 | |
|     def test_sanity(self):
 | |
|         data = hopper().tobytes()
 | |
|         self.assertIsInstance(data, bytes)
 | |
| 
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     unittest.main()
 |