()
| 65 | mock_pynvml.nvmlDeviceGetGraphicsRunningProcesses.return_value = [] |
| 66 | |
| 67 | def simple_work_function(): |
| 68 | # Do some work |
| 69 | _ = sum(range(10000)) |
| 70 | |
| 71 | try: |
| 72 | # Using EmissionsTracker as a context manager |
nothing calls this directly
no outgoing calls
no test coverage detected