def METHOD_NAME(caplog, tmp_path):
    caplog.set_level(logging.INFO)
    sct_label_vertebrae.main(['-i', sct_test_path('t2', 't2.nii.gz'),
                              '-s', sct_test_path('t2', 't2_seg-manual.nii.gz'),
                              '-c', 't2', '-initz', '40,20',
                              '-ofolder', str(tmp_path)])
    assert 'No disc is inferior to the initial disc.' in caplog.text