Closed diceroll123 closed 1 year ago
I had an empty __init__.py file in my tests folder throwing a divide by zero error when running python -m slipcover -m pytest
__init__.py
tests
python -m slipcover -m pytest
This is a somewhat opinionated fix, as I consider an empty file to be 100% covered. Feel free to nitpick!
Thanks, @diceroll123!
I decided to fix it a different way (adding a test, and fixing other paths as well). What a dumb DRY bug...
I had an empty
__init__.py
file in mytests
folder throwing a divide by zero error when runningpython -m slipcover -m pytest
This is a somewhat opinionated fix, as I consider an empty file to be 100% covered. Feel free to nitpick!