Skip to content

Commit f69e511

Browse files
committed
Fix regression
1 parent 4505eb4 commit f69e511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def csv_col_count_values(csv_file: str, col_name_or_nbr: Union[str, int], *value
304304
if isinstance(col_name_or_nbr, int):
305305
col = col_name_or_nbr - 1
306306
else:
307-
(col,) = get_cols(next(reader, col_name_or_nbr))
307+
(col,) = get_cols(next(reader), col_name_or_nbr)
308308
counter = sum(1 if line[col] in values_to_search else 0 for line in reader)
309309
return counter
310310

0 commit comments

Comments
 (0)