(self)
| 1216 | Unpack() |
| 1217 | |
| 1218 | def test_usage_with_kwargs(self): |
| 1219 | Movie = TypedDict('Movie', {'name': str, 'year': int}) |
| 1220 | def foo(**kwargs: Unpack[Movie]): ... |
| 1221 | self.assertEqual(repr(foo.__annotations__['kwargs']), |
| 1222 | f"typing.Unpack[{__name__}.Movie]") |
| 1223 | |
| 1224 | def test_builtin_tuple(self): |
| 1225 | Ts = TypeVarTuple("Ts") |
nothing calls this directly
no test coverage detected