Skip to content

Commit a59a9c8

Browse files
alexfiklinducer
authored andcommitted
mypy: fix errors from pytato typing improvements
1 parent 755e39a commit a59a9c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arraycontext/impl/pytato/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def _normalize_pt_expr(
9999
"""
100100
normalize_mapper = _DatawrapperToBoundPlaceholderMapper()
101101
normalized_expr = normalize_mapper(expr)
102+
assert isinstance(normalized_expr, AbstractResultWithNamedArrays)
102103
return normalized_expr, normalize_mapper.bound_arguments
103104

104105

0 commit comments

Comments
 (0)