Skip to content

Commit 2d60639

Browse files
committed
tweak test
1 parent 0a95e1c commit 2d60639

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/data/norm_for_each.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ def test_3D():
1212
data.norm_for_each("d2", 0, new_channel={"name": "ai0_d2_norm"})
1313
assert np.all(data.channels[-1][:].max(axis=(0, 1)) == 1)
1414

15-
data.norm_for_each("d1", 0, new_channel={"name": "ai0_d1_norm"})
15+
data.norm_for_each("d1", 0, new_channel=True)
16+
17+
data.norm_for_each("d1", 0, new_channel={"name": "ai0_d1_norm1"})
1618
data.channels[0].normalize()
1719
assert np.all(np.isclose(data.ai0_d1_norm[:], data.channels[0][:]))
1820

0 commit comments

Comments
 (0)