I have inherited a large number of python scripts that don't come with unit tests (good times). Eventually I will have unit tests for most of these scripts. Until then I would like to force python to evaluate every potential code path because I'm finding lovely things like name errors in function calls.
Is there a way to force python to evaluate every line of code (including lines in uncalled functions or exception handlers) other than unit tests?