mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Added test
This commit is contained in:
		
							parent
							
								
									e19447cbbb
								
							
						
					
					
						commit
						3ba9587675
					
				| 
						 | 
				
			
			@ -51,6 +51,16 @@ def test_show():
 | 
			
		|||
        assert ImageShow.show(im)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def test_show_without_viewers():
 | 
			
		||||
    viewers = ImageShow._viewers
 | 
			
		||||
    ImageShow._viewers = []
 | 
			
		||||
 | 
			
		||||
    im = hopper()
 | 
			
		||||
    assert not ImageShow.show(im)
 | 
			
		||||
 | 
			
		||||
    ImageShow._viewers = viewers
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def test_viewer():
 | 
			
		||||
    viewer = ImageShow.Viewer()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user