Skip to content

Commit c8582ba

Browse files
committed
Fixed another wrong import
1 parent 6417f78 commit c8582ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cpu_load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_cpu_total_power_process(
3131
self.assertGreaterEqual(power.W, 0.0)
3232

3333
@mock.patch(
34-
"codecarbon.external.hardware.CPU._get_power_from_cpu_load",
34+
"codecarbon.external.cpu.CPU._get_power_from_cpu_load",
3535
return_value=Power.from_watts(50),
3636
)
3737
def test_cpu_total_power(

0 commit comments

Comments
 (0)