mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	add path-from-bytes test
Also `array.array("f", [0, 1]) == array.array("f", [0.0, 1.0])` so we didn't need both of them.
			
			
This commit is contained in:
		
							parent
							
								
									e8307d7406
								
							
						
					
					
						commit
						4e8de9ac9a
					
				| 
						 | 
					@ -51,7 +51,7 @@ def test_path():
 | 
				
			||||||
        ((0.0, 1.0),),
 | 
					        ((0.0, 1.0),),
 | 
				
			||||||
        [(0.0, 1.0)],
 | 
					        [(0.0, 1.0)],
 | 
				
			||||||
        array.array("f", [0, 1]),
 | 
					        array.array("f", [0, 1]),
 | 
				
			||||||
        array.array("f", [0.0, 1.0]),
 | 
					        array.array("f", [0, 1]).tobytes(),
 | 
				
			||||||
        ImagePath.Path((0, 1)),
 | 
					        ImagePath.Path((0, 1)),
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user