MCPcopy Create free account
hub / github.com/MagicStack/contextvars / test_context_run_1

Method test_context_run_1

tests/test_basics.py:95–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 self.assertIsInstance(ctx, contextvars.Context)
94
95 def test_context_run_1(self):
96 ctx = contextvars.Context()
97
98 with self.assertRaisesRegex(TypeError, 'missing 1 required'):
99 ctx.run()
100
101 def test_context_run_2(self):
102 ctx = contextvars.Context()

Callers

nothing calls this directly

Calls 1

runMethod · 0.95

Tested by

no test coverage detected