https://pantsbuild.org/ logo
#general
Title
# general
c

crooked-tent-69497

02/06/2020, 10:28 AM
i’m running a test that starts a subprocess to invoke pants that then runs the target I want to measure, aka something like -
subprocess.Popen("./pants run")
depending on what options I use to set up coverage
./pants --coverage=
or
./pants — --cov=
I seem to get different errors. Mostly version mismatch on the coverage file, or
Failed to setup subprocess coverage. ... Exception: ModuleNotFoundError("No module named 'coverage'",)
, but it works fine for a case without subprocesses.