We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1188739 commit c18ff0fCopy full SHA for c18ff0f
1 file changed
tests/test_emissions_tracker.py
@@ -406,6 +406,7 @@ def test_carbon_tracker_online_context_manager_TWO_GPU_PRIVATE_INFRA_CANADA(
406
"https://get.geojs.io/v1/ip/geo.json", responses.calls[0].request.url
407
)
408
self.assertIsInstance(tracker.final_emissions, float)
409
+ self.assertAlmostEqual(tracker.final_emissions, 6.262572537957655e-05, places=2)
410
411
@mock.patch(
412
"codecarbon.external.ram.RAM.measure_power_and_energy"
0 commit comments