Closed kishen-v closed 4 months ago
LGTM
any chance to add a test or two to exercise this code?
Hi @ffromani, I've added a couple of tests to check if the warning is being raised in the case of missing files (core_id/physical_package_id) in the topology directory. Could you PTAL when time permits?
Thanks!
Fixes: https://github.com/jaypipes/ghw/issues/361
Added check to fetch the physical_package_id/core_id after determining if the CPU is online.