Skip to content

Commit

Permalink
Merge pull request #6814 from radarhere/numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 21, 2022
2 parents aab4adc + a065e02 commit 46b4967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_numpy.py
Expand Up @@ -34,7 +34,7 @@ def to_image(dtype, bands=1, boolean=0):

# Check supported 1-bit integer formats
assert_image(to_image(bool, 1, 1), "1", TEST_IMAGE_SIZE)
assert_image(to_image(numpy.bool8, 1, 1), "1", TEST_IMAGE_SIZE)
assert_image(to_image(numpy.bool_, 1, 1), "1", TEST_IMAGE_SIZE)

# Check supported 8-bit integer formats
assert_image(to_image(numpy.uint8), "L", TEST_IMAGE_SIZE)
Expand Down Expand Up @@ -193,7 +193,7 @@ def test_putdata():
"dtype",
(
bool,
numpy.bool8,
numpy.bool_,
numpy.int8,
numpy.int16,
numpy.int32,
Expand Down

0 comments on commit 46b4967

Please sign in to comment.