From 3473cc7dfcae2382749122bee79280e5793ded18 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sat, 24 Dec 2022 23:20:04 -0600 Subject: [PATCH] Fix swapped map/reduce_func in test_container_scalar_map --- test/test_arraycontext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_arraycontext.py b/test/test_arraycontext.py index c01c792..363eb24 100644 --- a/test/test_arraycontext.py +++ b/test/test_arraycontext.py @@ -784,9 +784,9 @@ def test_container_scalar_map(actx_factory): result = rec_map_array_container(lambda x: x, ary) assert result is not None - result = map_reduce_array_container(np.shape, lambda x: x, ary) + result = map_reduce_array_container(lambda x: x, np.shape, ary) assert result is not None - result = rec_map_reduce_array_container(np.shape, lambda x: x, ary) + result = rec_map_reduce_array_container(lambda x: x, np.shape, ary) assert result is not None -- GitLab