mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Added test for Image fromstring NotImplementedError
This commit is contained in:
		
							parent
							
								
									2039d43d85
								
							
						
					
					
						commit
						cd114cef3f
					
				| 
						 | 
				
			
			@ -312,6 +312,9 @@ class TestImage(PillowTestCase):
 | 
			
		|||
        # Act / Assert
 | 
			
		||||
        self.assertRaises(NotImplementedError, lambda: im.offset(None))
 | 
			
		||||
 | 
			
		||||
    def test_fromstring(self):
 | 
			
		||||
        self.assertRaises(NotImplementedError, Image.fromstring)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    unittest.main()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user