mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-11 00:23:21 +03:00
parent
3d58d73eb5
commit
054f1ef870
|
@ -40,7 +40,6 @@ def test_numpy_to_image():
|
||||||
assert_exception(TypeError, lambda: to_image(numpy.uint32))
|
assert_exception(TypeError, lambda: to_image(numpy.uint32))
|
||||||
assert_exception(TypeError, lambda: to_image(numpy.uint64))
|
assert_exception(TypeError, lambda: to_image(numpy.uint64))
|
||||||
|
|
||||||
assert_image(to_image(numpy.int), "I", (10, 10))
|
|
||||||
assert_image(to_image(numpy.int8), "I", (10, 10))
|
assert_image(to_image(numpy.int8), "I", (10, 10))
|
||||||
assert_image(to_image(numpy.int16), "I;16", (10, 10))
|
assert_image(to_image(numpy.int16), "I;16", (10, 10))
|
||||||
assert_image(to_image(numpy.int32), "I", (10, 10))
|
assert_image(to_image(numpy.int32), "I", (10, 10))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user