MCPcopy Create free account
hub / github.com/mlco2/codecarbon / stop

Method stop

tests/cli/test_monitor.py:18–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 return None
17
18 def stop(self):
19 self.stopped += 1
20 return 0.123
21
22
23def test_run_and_monitor_requires_command(monkeypatch):

Calls

no outgoing calls

Tested by

no test coverage detected