pytest-cov icon indicating copy to clipboard operation
pytest-cov copied to clipboard

Running tests in parallel leads to "coverage.misc.CoverageException: Couldn't read data from"

Open revunayar opened this issue 5 years ago • 1 comments

I am using python 3.7.1, pytest 4.6.3 and pytest-cov 2.8.1 and my .coveragerc file contains parallel set to true.

With the above configuration when i run tests in parallel It consistently fails with "coverage.misc.CoverageException: Couldn't read data from xyz data file". I have seen many people reported this issue and i tried multiple solutions but no help.

No issues observed when i try to run these tests in serial manner.

Please someone help me.

revunayar avatar Mar 11 '20 05:03 revunayar

Can you give us a link to your repo so that we can try your scenario?

nedbat avatar Mar 11 '20 12:03 nedbat