From 73f6cf22f345065ad0463fcdb2a41b213b000df4 Mon Sep 17 00:00:00 2001 From: Thomas Viehmann Date: Thu, 1 Jul 2021 14:06:13 +0200 Subject: [PATCH] Use numpy.float64 instead of numpy.float to avoid deprecation (thank you radarhere) --- Tests/test_image_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image_array.py b/Tests/test_image_array.py index c4e124ee5..850dc2aaa 100644 --- a/Tests/test_image_array.py +++ b/Tests/test_image_array.py @@ -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: