yantor3d, 14 days ago A dutiful #python dev writes a test for both sides of the if/else for 100% coverage. A lazy #python dev re-writes the if/else as a ternary operator for 100% coverage.
A dutiful #python dev writes a test for both sides of the if/else for 100% coverage.
A lazy #python dev re-writes the if/else as a ternary operator for 100% coverage.
treyhunner, 14 days ago @yantor3d this is why I always enable branch coverage 😬
@yantor3d this is why I always enable branch coverage 😬
Add comment