Skip to content

Commit 4d7dc02

Browse files
committed
fix lint
1 parent 9c3d125 commit 4d7dc02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_parse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,8 @@ def update(self, amount):
573573

574574
def test_process_with_checkpoint_rejects_non_positive_frequency(tmp_path):
575575
df_paths = pd.DataFrame({"dicom_path": ["a.dcm"]})
576-
read_func = lambda _: pd.Series({"PatientName": "x"})
576+
def read_func(_):
577+
return pd.Series({"PatientName": "x"})
577578

578579
with pytest.raises(ValueError, match="positive integer"):
579580
parse.process_with_checkpoint(

0 commit comments

Comments
 (0)