Skip to content

Commit

Permalink
Merge pull request python-pillow#8349 from AryazE/type_comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Sep 5, 2024
2 parents f7f3af7 + 282f740 commit a2be72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test(mode: str) -> tuple[tuple[int, ...], str, int]:

def test_with_dtype(dtype: npt.DTypeLike) -> None:
ai = numpy.array(im, dtype=dtype)
assert ai.dtype == dtype
assert ai.dtype.type is dtype

# assert test("1") == ((100, 128), '|b1', 1600))
assert test("L") == ((100, 128), "|u1", 12800)
Expand Down

0 comments on commit a2be72d

Please sign in to comment.