diff --git a/tests/data/cases/annotations.py b/tests/data/cases/annotations.py new file mode 100644 index 0000000..4d7af3d --- /dev/null +++ b/tests/data/cases/annotations.py @@ -0,0 +1,17 @@ +# regression test for #1765 +class Foo: + def foo(self): + if True: + content_ids: Mapping[ + str, Optional[ContentId] + ] = self.publisher_content_store.store_config_contents(files) + +# output + +# regression test for #1765 +class Foo: + def foo(self): + if True: + content_ids: Mapping[str, Optional[ContentId]] = ( + self.publisher_content_store.store_config_contents(files) + ) \ No newline at end of file