pytest-dev / pytest-cov

Coverage plugin for pytest.
MIT License
1.72k stars 211 forks source link

Crippled mode #383

Open ionelmc opened 4 years ago

ionelmc commented 4 years ago

Summary

A funny issue in coverage's bugtracker has led me to consider what's the best way to deal with this problem:

Assuming that is the cause of all the craziness in that issue there are 3 way going about it:

Crippled mode would also solve coverage for pytest plugin (instead of setting those env vars you could just run it in crippled mode).

What do you think?

nedbat commented 4 years ago

It turns out bug 915 wasn't because of the double-nesting of coverage, but it could still be a good idea to disallow it somehow.