Ned Batchelder
Ned Batchelder
I would love to use this action for nightly CPython testing. But it's hardcoded to a version of pyenv that doesn't know about 3.15-dev yet. I would like to use...
Can you show us the exact actual message you are seeing?
No, you're good, my mistake.
I suspect this is something to do with having more than one Python installation. For example, take a look at the output of these commands: ``` $ which pytest $...
A simple way to reproduce: ``` % cat > hello.py print("hello") % coverage run hello.py hello % rm hello.py % coverage json -q -o /dev/stdout ... (the error shown above)...
`CoverageData` has `dumps` and `loads` methods for serializing and de-serializing. Do those not work to transmit the collected data to the parent process?
I would like to see a way to reproduce the problem. I'll note that the multiprocessing docs are not explicit about how to cleanly shutdown subprocesses. In #1910 we worked...
Yes, the sysmon support is not yet in place to do a good job with branch coverage. I could add a warning to that effect if it would help.
Another option: refuse to run with `COVERAGE_CORE=sysmon` and `branch=True`.
BTW, now there's a new implementation of branch measurement with COVERAGE_CORE=sysmon: https://nedbatchelder.com/blog/202503/faster_branch_coverage_measurement.html Early reports are that it is still slower than traditional branch measurement, which is disappointing. I'm wondering how...