Use numpy.float64 instead of numpy.float to avoid deprecation (thank you radarhere)

This commit is contained in:
Thomas Viehmann 2021-07-01 14:06:13 +02:00
parent 1c03526b65
commit 73f6cf22f3

View File

@ -31,7 +31,7 @@ def test_toarray():
assert test("RGBA") == ((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)
with Image.open("Tests/images/truncated_jpeg.jpg") as im_truncated: