void () { doTestByText(""" from typing import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}, total=False) movie = {'name': 'Blade Runner', <warning descr="Extra key 'director' for TypedDict 'Movie'">'director': 'Ridley Scott'</warning>} # type: Movie """); }