hugovk, 4 months ago @nedbat 💯 Just yesterday, because of including tests in coverage, I spotted an assert which wasn't being run... And it masked not one but two bugs in the assert! https://github.com/jazzband/prettytable/commit/2f8240527ad6966bb22088c51b575edcd7400aa0 #Python #test #coverage The fix required unindenting the line so it could be run, and removing a full stop from the expected output, and turning the exception into a string.
@nedbat 💯
Just yesterday, because of including tests in coverage, I spotted an assert which wasn't being run...
And it masked not one but two bugs in the assert!
https://github.com/jazzband/prettytable/commit/2f8240527ad6966bb22088c51b575edcd7400aa0 #Python #test #coverage
The fix required unindenting the line so it could be run, and removing a full stop from the expected output, and turning the exception into a string.