MCPcopy Index your code
hub / github.com/prometheus/client_python / tearDown

Method tearDown

tests/test_core.py:143–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 metrics._use_created = _get_use_created()
142
143 def tearDown(self):
144 os.environ.pop('PROMETHEUS_DISABLE_CREATED_SERIES', None)
145 metrics._use_created = _get_use_created()
146
147 def test_counter(self):
148 counter = Counter('c_total', 'help', registry=self.registry)

Callers

nothing calls this directly

Calls 1

_get_use_createdFunction · 0.90

Tested by

no test coverage detected