()
| 14 | |
| 15 | |
| 16 | def test_cpu_count(): |
| 17 | count = cpu_count() |
| 18 | assert isinstance(count, int) |
| 19 | assert count == CPU_COUNT |
| 20 | assert count <= (os.cpu_count() or 999) |
| 21 | assert count >= 1 |
| 22 | |
| 23 | |
| 24 | @pytest.mark.skipif(MACOS, reason="No CPU affinity in psutil") |
nothing calls this directly
no test coverage detected