I wish coverage.py would tell me what stack traces exercised this line of code.
I have more than a thousand unit tests here, and I'm wondering which one(s) are exercising a certain bit of code.
(Ths is because, even though all of the lines of code that I've looked at, and even all of the branches, are covered, there's still some data-dependent functionality that is not getting exercised. I know because there's a bug that shows up in the wild but not in the unit tests, and the diagnostics produced when it shows up (i.e. stack traces and values emitted) seem to point to a bug in this code.)
Anyway, I think it would be pretty sweet if coverage.py would note down all the stack traces that resulted in each line of code being executed. (Or at least each function.)
Then I could browse them to figure out which unit tests are exercising this code.
I realize this could make running tests under coverage a lot slower...