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