Skip to content

Commit de242d5

Browse files
committed
Revised string concatenation in error message
1 parent 8e82765 commit de242d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastmath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def check_fastmath(pkg_dir, pkg_name):
8282
if len(missing_fastmath) > 0:
8383
msg = (
8484
"Found one or more `@njit` functions that are missing the `fastmath` flag. "
85+
+ f"The functions are:\n {missing_fastmath}\n"
8586
)
86-
msg += f"The functions are:\n {missing_fastmath}\n"
8787
raise ValueError(msg)
8888

8989
return

0 commit comments

Comments
 (0)