Lines Matching full:key
323 # have key/value pairs to parse
331 …([A-Za-z]+[\w\-]+) # match key starting with alpha, containing alphanumeric, _, or -; captured as…
332 \s*=\s* # key is followed by = (whitespace ignored)
343 key = match.group(1)
346 index = field_names.index(key)
347 if key == "only": # weird bc only is a list
351 known[key] = test_fields[index].type(value) # type: ignore
354 known[key] = get_origin(test_fields[index].type)(value) # type: ignore
356 other[key] = value
460 for key in test_reader.fieldnames:
463 true_val: float = float(true_line[key])
464 test_val: float = float(test_line[key])
473 diff_lines.append(f'column: {key}, expected: {true_val}, got: {test_val}')
475 if test_line[key] != true_line[key]:
476 … diff_lines.append(f'column: {key}, expected: {true_line[key]}, got: {test_line[key]}')