Skip to content

Commit

Permalink
Attempt at fixing failing test on conda ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Mar 12, 2024
1 parent 36ad312 commit e73843c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/python/test/test_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_demosaic():
for fn in fns:
for dtype in [np.uint8, np.uint16]:
bayer_data = np.ones((h, w), dtype=dtype) * 128
rgba = np.empty((h, w, 4), dtype=dtype)
rgba = np.zeros((h, w, 4), dtype=dtype)
old_rgba = rgba.copy()
fn(bayer_data, rgba)
assert not np.allclose(rgba, old_rgba), f'Error when testing {fn}, with dtype {dtype}'

0 comments on commit e73843c

Please sign in to comment.