Skip to content

Commit 3473cc7

Browse files
committed
Fix swapped map/reduce_func in test_container_scalar_map
1 parent 4c8b431 commit 3473cc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_arraycontext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,9 @@ def test_container_scalar_map(actx_factory):
784784
result = rec_map_array_container(lambda x: x, ary)
785785
assert result is not None
786786

787-
result = map_reduce_array_container(np.shape, lambda x: x, ary)
787+
result = map_reduce_array_container(lambda x: x, np.shape, ary)
788788
assert result is not None
789-
result = rec_map_reduce_array_container(np.shape, lambda x: x, ary)
789+
result = rec_map_reduce_array_container(lambda x: x, np.shape, ary)
790790
assert result is not None
791791

792792

0 commit comments

Comments
 (0)