(self)
| 9737 | self.assertIsInstance(A(), C) |
| 9738 | |
| 9739 | def test_cannot_instantiate_forward(self): |
| 9740 | A = Annotated["int", (5, 6)] |
| 9741 | with self.assertRaises(TypeError): |
| 9742 | A(5) |
| 9743 | |
| 9744 | def test_cannot_instantiate_type_var(self): |
| 9745 | A = Annotated[T, (5, 6)] |
nothing calls this directly
no test coverage detected