Skip to content

Commit e73843c

Browse files
committed
Attempt at fixing failing test on conda ci
1 parent 36ad312 commit e73843c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/python/test/test_conversions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_demosaic():
7878
for fn in fns:
7979
for dtype in [np.uint8, np.uint16]:
8080
bayer_data = np.ones((h, w), dtype=dtype) * 128
81-
rgba = np.empty((h, w, 4), dtype=dtype)
81+
rgba = np.zeros((h, w, 4), dtype=dtype)
8282
old_rgba = rgba.copy()
8383
fn(bayer_data, rgba)
8484
assert not np.allclose(rgba, old_rgba), f'Error when testing {fn}, with dtype {dtype}'

0 commit comments

Comments
 (0)