mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 18:07:51 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			262 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			262 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()
 | 
						|
 | 
						|
# End of file
 |