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

Method setUp

tests/test_multiprocess.py:633–636  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

631
632class TestUnsetEnv(unittest.TestCase):
633 def setUp(self):
634 self.registry = CollectorRegistry()
635 fp, self.tmpfl = tempfile.mkstemp()
636 os.close(fp)
637
638 def test_unset_syncdir_env(self):
639 self.assertRaises(

Callers

nothing calls this directly

Calls 2

CollectorRegistryClass · 0.85
closeMethod · 0.80

Tested by

no test coverage detected