Skip to content

Commit

Permalink
Use numpy.float64 instead of numpy.float to avoid deprecation (thank …
Browse files Browse the repository at this point in the history
…you radarhere)
  • Loading branch information
t-vi authored and radarhere committed Jul 6, 2021
1 parent 7e8cefa commit 2ebb695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_array.py
Expand Up @@ -31,7 +31,7 @@ def test_with_dtype(dtype):
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:
Expand Down

0 comments on commit 2ebb695

Please sign in to comment.