(self)
| 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() |