Skip to content

Commit 34afa37

Browse files
committed
improve exception message when knnPerfTest fails
1 parent ea81b5d commit 34afa37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/knnPerfTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def print_fixed_width(all_results, columns_to_skip):
309309
for row in rows_to_print:
310310
by_column = row.split("\t")
311311
if len(by_column) != num_columns:
312-
raise RuntimeError(f'wrong number of columns: expected {num_columns} but got {len(by_column)} in "{row}"')
312+
raise RuntimeError(f'wrong number of columns: expected {num_columns} but got {len(by_column)} in row "{row}"')
313313
for i, s in enumerate(by_column):
314314
max_by_col[i] = max(max_by_col[i], len(s))
315315

0 commit comments

Comments
 (0)