mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Handle bytes in test for Py2 and 3
This commit is contained in:
		
							parent
							
								
									2271ee6f65
								
							
						
					
					
						commit
						bfc05b7a8c
					
				| 
						 | 
					@ -95,7 +95,7 @@ def test_meta():
 | 
				
			||||||
    meta = ole.get_metadata()
 | 
					    meta = ole.get_metadata()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Assert
 | 
					    # Assert
 | 
				
			||||||
    assert_equal(meta.author, "Laurence Ipsum")
 | 
					    assert_equal(meta.author, b"Laurence Ipsum")
 | 
				
			||||||
    assert_equal(meta.num_pages, 1)
 | 
					    assert_equal(meta.num_pages, 1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# End of file
 | 
					# End of file
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user