Skip to content

Commit

Permalink
Quotes
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Bourjau <[email protected]>
  • Loading branch information
MatejUrbanQC and cbourjau authored Jul 23, 2024
1 parent cc8a8a1 commit c18f434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndonnx/_core/_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ def _via_upcast(
via_dtype = int_dtype
else:
raise TypeError(
f"Can't upcast signed type {dtype}. Available implementations are for {*available_types,}"
f"Can't upcast signed type `{dtype}`. Available implementations are for `{*available_types,}`"
)
elif isinstance(dtype, (dtypes.Floating, dtypes.NullableFloating)):
if (
Expand All @@ -1071,7 +1071,7 @@ def _via_upcast(
via_dtype = float_dtype
else:
raise TypeError(
f"Can't upcast float type {dtype}. Available implementations are for {*available_types,}"
f"Can't upcast float type `{dtype}`. Available implementations are for `{*available_types,}`"
)
else:
raise TypeError(f"Expected numerical data type, found {dtype}")
Expand Down

0 comments on commit c18f434

Please sign in to comment.