Closed lazargugleta closed 5 months ago
Thanks for supplying this fix @lazargugleta!
One last thing we'd need is for you to add a test case for this function. This ensures that we will not see this error again.
@Jibola Hey, thanks for the quick reply, I added the test Hopefully in the correct place. Let me know If there is anything else needed.
LGTM, scheduling the tests.
Why remove test_py_empty_list_raises?
Why remove test_py_empty_list_raises?
It tests the same case. Only good thing about leaving it in is that is shows intended behaviour. Should I leave it in?
Yeah could you add it back? It's nice to have as an extra regression test. Also our pre-commit checks are failing. You will need to install and run:
pip install pre-commit
pre-commit run --all-files
Yeah could you add it back?
Thanks, test added back + reformatted code according to formating
JIRA TICKET