Skip to content

Commit

Permalink
Fixed test-case for XC: default alpha states for IM-6.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
emcconville committed Apr 21, 2019
1 parent c4d176d commit 4c361e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ def test_from_array():
@mark.skipif(np is None, reason='Numpy not available.')
def test_array_interface():
with Image(filename='rose:') as img:
img.alpha_channel = False
array = np.array(img)
assert array.shape == (70, 46, 3)

Expand Down

0 comments on commit 4c361e7

Please sign in to comment.