1 parent 9c3d125 commit 4d7dc02Copy full SHA for 4d7dc02
1 file changed
tests/test_parse.py
@@ -573,7 +573,8 @@ def update(self, amount):
573
574
def test_process_with_checkpoint_rejects_non_positive_frequency(tmp_path):
575
df_paths = pd.DataFrame({"dicom_path": ["a.dcm"]})
576
- read_func = lambda _: pd.Series({"PatientName": "x"})
+ def read_func(_):
577
+ return pd.Series({"PatientName": "x"})
578
579
with pytest.raises(ValueError, match="positive integer"):
580
parse.process_with_checkpoint(
0 commit comments