Ned Batchelder
Ned Batchelder
I wonder about the benefits to this work? The most performance-sensitive part of coverage.py is the trace function, and that is written in C. These days, the best way to...
This does look odd, and I guess could be improved. The logic is that between lines 10 and 18, there are no lines that could be executed that were executed,...
I'm not sure how to provide that flag. How did you do it, so I can be sure to have it right?
Thanks, we have our own issue with 7.3.15: #1737 . I assume it's the same root cause, whatever it is. For us, it's only on Windows.
Is there a way to tell if Defender is running in GitHub Actions? Do we know if the same thing will happen on your machine with 7.3.14, because that version...
@devdanzin Thanks for looking into this. I tried skipping the MultiprocessingTest's, and it still hung at the end: https://github.com/nedbat/coveragepy/actions/runs/7619979724/job/20753958961#step:5:660
I can confirm that if we completely remove test_concurrency.py from the test suite, then it all completes with no problems: https://github.com/nedbat/coveragepy/actions/runs/7626679133
My testing on Windows also sees the test suite stop here: ``` tests/test_concurrency.py::ConcurrencyTest::test_no_multiple_light_concurrency_in_config PASSED [ 20%] tests/test_concurrency.py::ConcurrencyTest::test_multiprocessing_needs_config_file PASSED [ 20%] tests/test_concurrency.py::WithoutConcurrencyModuleTest::test_missing_module[eventlet] PASSED [ 20%] tests/test_concurrency.py::WithoutConcurrencyModuleTest::test_missing_module[gevent] PASSED [ 21%] tests/test_concurrency.py::WithoutConcurrencyModuleTest::test_missing_module[greenlet] PASSED...
Do you know what has changed in the last few weeks? Are you using a newer version of coverage? Is there a way for me to reproduce it?
This is fixed in commit 08fc997b6b3d881e8e5082b71ad6d6bcc4e2f752.