From 5dd8df9bc08dce7fa351cd0d2a5bcf73a75c819d Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Wed, 9 Jun 2021 23:29:53 -0500 Subject: [PATCH] fix format string --- arraycontext/container/traversal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arraycontext/container/traversal.py b/arraycontext/container/traversal.py index 3a4331a..2ceb9f9 100644 --- a/arraycontext/container/traversal.py +++ b/arraycontext/container/traversal.py @@ -103,7 +103,7 @@ def _multimap_array_container_impl( template_ary = _args[container_indices[0]] assert all( type(_args[i]) is type(template_ary) for i in container_indices[1:] - ), "expected type '{type(template_ary).__name__}'" + ), f"expected type '{type(template_ary).__name__}'" if (type(template_ary) is leaf_cls or not is_array_container(template_ary)): -- GitLab