MCPcopy Create free account
hub / github.com/dask/dask / cpu_affinity

Method cpu_affinity

dask/tests/test_system.py:31–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29
30 class MyProcess:
31 def cpu_affinity(self):
32 # No affinity set
33 return []
34
35 monkeypatch.setattr(psutil, "Process", MyProcess)
36

Callers 1

cpu_countFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected