i’m running a test that starts a subprocess to inv...
# general
c
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.