I have some code that install a trace function, which performs alright under normal conditions (ie the standard python interpreter). However, when I run it through coverage, one of my tests fails due to the trace function not getting called.
I think this has to do with coverage assuming no trace function was set before it and so resetting it to None. I'm not even sure if it is possible to have multiple trace functions at the same time (though I would think it should be).
Is this something that has to be fixed in coverage? or in my code? I couldn't find any pointers in google, so I came here.