Skip to content

Commit

Permalink
this is getting weirder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Oct 13, 2024
1 parent e000eab commit 2d80889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def test_valid_device():

assert image.shape == (480, 640) # Grey

image_bw = cam.read(color=True)
image_colour = cam.read(color=True)

assert image_bw.shape == (480, 640, 4) # RGBA
assert image_colour.shape[2] >= 3 # sometimes there are 3 channels, sometimes 4 depending on platform?


def test_invalid_device():
Expand Down

0 comments on commit 2d80889

Please sign in to comment.