diff --git a/tests/test_visitors.py b/tests/test_visitors.py index 93cb9c31e2..937b33d09f 100644 --- a/tests/test_visitors.py +++ b/tests/test_visitors.py @@ -390,8 +390,7 @@ def test_map_nodes(block1): assert len(map_nodes.keys()) == 1 for iters, (expr,) in map_nodes.items(): - # Replace the outermost `Iteration` with a placeholder, represented in - # this example by a `Call` to a `Callable` + # Replace the outermost `Iteration` with a `Call` callback = Callable('solver', iters[0], 'void', ()) processed = Transformer({iters[0]: Call(callback.name)}).visit(block1)