tests/data/cases/annotations.py
raw| 1 | # regression test for #1765 |
| 2 | class Foo: |
| 3 | def foo(self): |
| 4 | if True: |
| 5 | content_ids: Mapping[ |
| 6 | str, Optional[ContentId] |
| 7 | ] = self.publisher_content_store.store_config_contents(files) |
| 8 | |
| 9 | # output |
| 10 | |
| 11 | # regression test for #1765 |
| 12 | class Foo: |
| 13 | def foo(self): |
| 14 | if True: |
| 15 | content_ids: Mapping[str, Optional[ContentId]] = ( |
| 16 | self.publisher_content_store.store_config_contents(files) |
| 17 | ) |