Closed tomasr8 closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.28%. Comparing base (
f91754b
) to head (be2709c
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
str.index
raises aValueError
when the substring is not found so there is no way to even check the return value as the code currently tries to do. Replacing it withstr.find
makes the code work as intended.