mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Removed unused test helper
This commit is contained in:
		
							parent
							
								
									89901e089c
								
							
						
					
					
						commit
						ecd4d5a186
					
				| 
						 | 
					@ -7,18 +7,6 @@ TEST_FILE = "Tests/images/iptc.jpg"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class TestFileIptc(PillowTestCase):
 | 
					class TestFileIptc(PillowTestCase):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Helpers
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def dummy_IptcImagePlugin(self):
 | 
					 | 
				
			||||||
        # Create an IptcImagePlugin object without initializing it
 | 
					 | 
				
			||||||
        class FakeImage(object):
 | 
					 | 
				
			||||||
            pass
 | 
					 | 
				
			||||||
        im = FakeImage()
 | 
					 | 
				
			||||||
        im.__class__ = IptcImagePlugin.IptcImageFile
 | 
					 | 
				
			||||||
        return im
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # Tests
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def test_getiptcinfo_jpg_none(self):
 | 
					    def test_getiptcinfo_jpg_none(self):
 | 
				
			||||||
        # Arrange
 | 
					        # Arrange
 | 
				
			||||||
        im = hopper()
 | 
					        im = hopper()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user