mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Use numpy.float64 instead of numpy.float to avoid deprecation (thank you radarhere)
This commit is contained in:
		
							parent
							
								
									7e8cefaee4
								
							
						
					
					
						commit
						2ebb695a3a
					
				| 
						 | 
					@ -31,7 +31,7 @@ def test_toarray():
 | 
				
			||||||
    assert test("RGBA") == ((100, 128, 4), "|u1", 51200)
 | 
					    assert test("RGBA") == ((100, 128, 4), "|u1", 51200)
 | 
				
			||||||
    assert test("RGBX") == ((100, 128, 4), "|u1", 51200)
 | 
					    assert test("RGBX") == ((100, 128, 4), "|u1", 51200)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    test_with_dtype(numpy.float)
 | 
					    test_with_dtype(numpy.float64)
 | 
				
			||||||
    test_with_dtype(numpy.uint8)
 | 
					    test_with_dtype(numpy.uint8)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    with Image.open("Tests/images/truncated_jpeg.jpg") as im_truncated:
 | 
					    with Image.open("Tests/images/truncated_jpeg.jpg") as im_truncated:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user